flex - Channel not found error in - Spring BlazeDS Integration -


i'm trying convert simple chat java/blazeds project on new spring blazeds setup.

i started fresh , copied in blazeds-spring folder contents in blazeds 4 turnkey distro added few new files

web.xml flex-servlet.xml  spring/     app-config.xml      infrastructure-config.xml      security-config.xml flex/     services.config 

services.config has removed references messaging, remoting , proxy configs. flex swf compiling against services-config.

<services>     <default-channels>         <channel ref="my-polling-amf" />     </default-channels> </services> 

my flex-servlet.xml contains

<flex:message-broker>     <flex:message-service default-channels="my-streaming-amf,my-longpolling-amf,my-polling-amf" />     <flex:secured /> </flex:message-broker>  <flex:message-destination id="chat" /> 

the problem have when launch swf message

[messagingerror message='destination 'chat' either not exist or destination has no channels defined (and application not define default channels.)']

does know looking destination , if appears incorrect setup?

at first make sure using correct filename. default location/filename blazeds xml configuration file is:

/web-inf/flex/services-config.xml

see configuring messagebroker in spring


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -