| 1 | <?xml version="1.0" encoding="UTF-8"?>
|
|---|
| 2 | <services-config>
|
|---|
| 3 |
|
|---|
| 4 | <services>
|
|---|
| 5 | <service-include file-path="remoting-config.xml" />
|
|---|
| 6 | <service-include file-path="proxy-config.xml" />
|
|---|
| 7 | <service-include file-path="messaging-config.xml" />
|
|---|
| 8 | <service-include file-path="data-management-config.xml" />
|
|---|
| 9 | </services>
|
|---|
| 10 |
|
|---|
| 11 | <security>
|
|---|
| 12 | <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
|
|---|
| 13 | <!-- Uncomment the correct app server
|
|---|
| 14 | <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
|
|---|
| 15 | <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
|
|---|
| 16 | <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
|
|---|
| 17 | -->
|
|---|
| 18 | <!--
|
|---|
| 19 | <security-constraint id="basic-read-access">
|
|---|
| 20 | <auth-method>Basic</auth-method>
|
|---|
| 21 | <roles>
|
|---|
| 22 | <role>guests</role>
|
|---|
| 23 | <role>accountants</role>
|
|---|
| 24 | <role>employees</role>
|
|---|
| 25 | <role>managers</role>
|
|---|
| 26 | </roles>
|
|---|
| 27 | </security-constraint>
|
|---|
| 28 | -->
|
|---|
| 29 | </security>
|
|---|
| 30 |
|
|---|
| 31 | <channels>
|
|---|
| 32 |
|
|---|
| 33 | <!-- CF Based Endpoints -->
|
|---|
| 34 | <channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel">
|
|---|
| 35 | <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/>
|
|---|
| 36 | <properties>
|
|---|
| 37 | <polling-enabled>false</polling-enabled>
|
|---|
| 38 | <serialization>
|
|---|
| 39 | <instantiate-types>false</instantiate-types>
|
|---|
| 40 | </serialization>
|
|---|
| 41 | </properties>
|
|---|
| 42 | </channel-definition>
|
|---|
| 43 |
|
|---|
| 44 | <channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
|
|---|
| 45 | <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
|
|---|
| 46 | <properties>
|
|---|
| 47 | <polling-enabled>true</polling-enabled>
|
|---|
| 48 | <polling-interval-seconds>8</polling-interval-seconds>
|
|---|
| 49 | <serialization>
|
|---|
| 50 | <instantiate-types>false</instantiate-types>
|
|---|
| 51 | </serialization>
|
|---|
| 52 | </properties>
|
|---|
| 53 | </channel-definition>
|
|---|
| 54 |
|
|---|
| 55 | <channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
|
|---|
| 56 | <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
|
|---|
| 57 | <properties>
|
|---|
| 58 | <polling-enabled>false</polling-enabled>
|
|---|
| 59 | <add-no-cache-headers>false</add-no-cache-headers>
|
|---|
| 60 | <serialization>
|
|---|
| 61 | <instantiate-types>false</instantiate-types>
|
|---|
| 62 | </serialization>
|
|---|
| 63 | </properties>
|
|---|
| 64 | </channel-definition>
|
|---|
| 65 |
|
|---|
| 66 | <!-- ColdFusion specific RTMP channel -->
|
|---|
| 67 | <channel-definition id="cf-rtmp" class="mx.messaging.channels.RTMPChannel">
|
|---|
| 68 | <endpoint uri="rtmp://localhost:2048" class="flex.messaging.endpoints.RTMPEndpoint"/>
|
|---|
| 69 | <properties>
|
|---|
| 70 | <idle-timeout-minutes>20</idle-timeout-minutes>
|
|---|
| 71 | <serialization>
|
|---|
| 72 | <instantiate-types>false</instantiate-types>
|
|---|
| 73 | </serialization>
|
|---|
| 74 | </properties>
|
|---|
| 75 | </channel-definition>
|
|---|
| 76 |
|
|---|
| 77 | <!-- Java Based Endpoints -->
|
|---|
| 78 | <!--
|
|---|
| 79 | <channel-definition id="java-amf" class="mx.messaging.channels.AMFChannel">
|
|---|
| 80 | <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
|
|---|
| 81 | </channel-definition>
|
|---|
| 82 |
|
|---|
| 83 | <channel-definition id="java-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
|
|---|
| 84 | <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
|
|---|
| 85 | </channel-definition>
|
|---|
| 86 |
|
|---|
| 87 | <channel-definition id="java-polling-amf" class="mx.messaging.channels.AMFChannel">
|
|---|
| 88 | <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
|
|---|
| 89 | <properties>
|
|---|
| 90 | <polling-enabled>true</polling-enabled>
|
|---|
| 91 | <polling-interval-seconds>8</polling-interval-seconds>
|
|---|
| 92 | </properties>
|
|---|
| 93 | </channel-definition>
|
|---|
| 94 |
|
|---|
| 95 | <channel-definition id="java-rtmp" class="mx.messaging.channels.RTMPChannel">
|
|---|
| 96 | <endpoint uri="rtmp://{server.name}:2036" class="flex.messaging.endpoints.RTMPEndpoint"/>
|
|---|
| 97 | <properties>
|
|---|
| 98 | <idle-timeout-minutes>20</idle-timeout-minutes>
|
|---|
| 99 | </properties>
|
|---|
| 100 | </channel-definition>
|
|---|
| 101 | -->
|
|---|
| 102 |
|
|---|
| 103 | <channel-definition id="java-http" class="mx.messaging.channels.HTTPChannel">
|
|---|
| 104 | <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
|
|---|
| 105 | </channel-definition>
|
|---|
| 106 |
|
|---|
| 107 | <channel-definition id="java-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
|
|---|
| 108 | <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
|
|---|
| 109 | </channel-definition>
|
|---|
| 110 | </channels>
|
|---|
| 111 |
|
|---|
| 112 | <logging>
|
|---|
| 113 | <target class="flex.messaging.log.ConsoleTarget" level="Error">
|
|---|
| 114 | <properties>
|
|---|
| 115 | <prefix>[Flex] </prefix>
|
|---|
| 116 | <includeDate>false</includeDate>
|
|---|
| 117 | <includeTime>false</includeTime>
|
|---|
| 118 | <includeLevel>false</includeLevel>
|
|---|
| 119 | <includeCategory>false</includeCategory>
|
|---|
| 120 | </properties>
|
|---|
| 121 | <filters>
|
|---|
| 122 | <pattern>Endpoint.*</pattern>
|
|---|
| 123 | <pattern>Service.*</pattern>
|
|---|
| 124 | <pattern>Configuration</pattern>
|
|---|
| 125 | <pattern>Message.*</pattern>
|
|---|
| 126 | </filters>
|
|---|
| 127 | </target>
|
|---|
| 128 | </logging>
|
|---|
| 129 |
|
|---|
| 130 | <system>
|
|---|
| 131 | <manageable>false</manageable>
|
|---|
| 132 | <!--
|
|---|
| 133 | <redeploy>
|
|---|
| 134 | <enabled>true</enabled>
|
|---|
| 135 | <watch-interval>20</watch-interval>
|
|---|
| 136 | <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
|
|---|
| 137 | <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
|
|---|
| 138 | <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
|
|---|
| 139 | <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
|
|---|
| 140 | <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
|
|---|
| 141 | <touch-file>{context.root}/WEB-INF/web.xml</touch-file>
|
|---|
| 142 | </redeploy>
|
|---|
| 143 | -->
|
|---|
| 144 | </system>
|
|---|
| 145 |
|
|---|
| 146 | </services-config>
|
|---|