2010-11-16 86 views
1

我试图将简单的聊天Java/BlazeDS项目转换为新的Spring BlazeDS安装程序。- Spring BlazeDS集成

我开始清新的复制在BlazeDS的BlazeDS的弹簧文件夹的内容里面加入了一些新的文件

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

services.config现在已删除消息传递,远程处理和代理引用4交钥匙发行CONFIGS。 我的Flex swf正在编译这个服务配置。

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

我的Flex-servlet.xml中包含

<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" /> 

我的问题,当我启动SWF是此消息

[MessagingError消息='目的地 '聊天' 不存在或目的地没有定义频道(且应用程序未定义任何默认频道)']

是否有人e知道它在哪里寻找这个目的地,如果在我的设置中出现任何不正确的地方?

回答