|
Revision 29, 1.0 kB
(checked in by ryanstewart, 8 months ago)
|
|
Initial import.
|
| Line | |
|---|
| 1 | Setting up the messaging configuration files for GPXShare |
|---|
| 2 | |
|---|
| 3 | In order to get this demo working you'll have to change the following files in your ColdFusion WEB-INF directory: |
|---|
| 4 | |
|---|
| 5 | WEB-INF/flex/messaging-config.xml |
|---|
| 6 | WEB-INF/flex/services-config.xml |
|---|
| 7 | |
|---|
| 8 | In messaging-config.xml add the following text after the <adapters></adapters> node: |
|---|
| 9 | |
|---|
| 10 | <destination id="GpxShare"> |
|---|
| 11 | <adapter ref="actionscript" /> |
|---|
| 12 | <channels> |
|---|
| 13 | <channel ref="cf-rtmp" /> |
|---|
| 14 | </channels> |
|---|
| 15 | </destination> |
|---|
| 16 | |
|---|
| 17 | In services-config.xml make sure the following lines within the <channels> node are uncommented: |
|---|
| 18 | |
|---|
| 19 | <channel-definition id="cf-rtmp" class="mx.messaging.channels.RTMPChannel"> |
|---|
| 20 | <endpoint uri="rtmp://localhost:2048" class="flex.messaging.endpoints.RTMPEndpoint"/> |
|---|
| 21 | <properties> |
|---|
| 22 | <idle-timeout-minutes>20</idle-timeout-minutes> |
|---|
| 23 | <serialization> |
|---|
| 24 | <instantiate-types>false</instantiate-types> |
|---|
| 25 | </serialization> |
|---|
| 26 | </properties> |
|---|
| 27 | </channel-definition> |
|---|
| 28 | |
|---|