AMFChannel is per default a polling channel. Juging from your URL you want to 
connect to a Streaming channel. Use StreamingAMFChannel instead and you 
shouldn't get that error any longer.

Chris

-----Ursprüngliche Nachricht-----
Von: x8s9y [mailto:x8...@163.com] 
Gesendet: Samstag, 5. September 2015 15:13
An: Dev_Flex <dev@flex.apache.org>
Betreff: Client attempted to contact a server endpoint that does not support a 
polling channel.

Hi:
When I subscribe message that I encounter a issus,The AMFChannel channelFault 
dispatch error info:
"Client attempted to contact a server endpoint that does not support a polling 
channel." code:
<s:AMFChannel id="stream" 
url="http://192.168.1.126:8081/IBMS/messagebroker/streamingamf"; 
           channelConnect="streamingamfchannel1_channelConnectHandler(event)"
           channelFault="streamingamfchannel1_channelFaultHandler(event)"/> 


The server console message:
2015-09-05 20:58:23  INFO [http-nio-8081-exec-2] (JmsAdapter.java:143) - client 
[5FBB7254-561F-D282-7511-69DC3D20F7FE] subscribed to destination [pushTime]
2015-09-05 20:58:23  INFO [http-nio-8081-exec-3] 
(MessageBrokerHandlerAdapter.java:99) - Channel endpoint my-streaming-amf 
received request.

Now, I can't receive any messasge from the topics,what does it causes?

Environment:
BlazeDS+MQ+Tomcat

Hope to get your help.

2015-09-05


sunny

Reply via email to