Hi ,

I am facing the same issue while connecting from cpp cms client to apollo
using stomp ,no issues while connecting using openwire format , I amrunning
the listener on same box as broker.
is there a prior cms cpp client version which works or is there a workaround
?

I have attached the connection/stacktrace logs here ,
from these logs it appears that the stomp CONNECT call is trying to open a
temporary queue/topic which is not supported by cpp cms client as per the
documentation <http://activemq.apache.org/cms/stomp-support.html>

connection.log
2015-02-07 17:40:19,044 connected: local:/127.0.0.1:61613,
remote:/127.0.0.1:38520
2015-02-07 17:40:19,087 STOMP connection '/127.0.0.1:38520' error: Internal
Server Error:
org.apache.activemq.apollo.stomp.StompProtocolHandler$ProtocolException:
Invalid stomp destination name:
/topic/ActiveMQ.Advisory.TempQueue,ActiveMQ.Advisory.TempTopic

stacktrace log:
2015-02-07 17:40:19,087 | INFO  | stackref=14b651f5aac
org.apache.activemq.apollo.stomp.StompProtocolHandler$ProtocolException:
Invalid stomp destination name:
/topic/ActiveMQ.Advisory.TempQueue,ActiveMQ.Advisory.TempTopic
    at
org.apache.activemq.apollo.stomp.StompProtocolHandler.decode_addresses(StompProtocolHandler.scala:739)
    at
org.apache.activemq.apollo.stomp.StompProtocolHandler.on_stomp_subscribe(StompProtocolHandler.scala:1514)
    at
org.apache.activemq.apollo.stomp.StompProtocolHandler.on_transport_command(StompProtocolHandler.scala:1030)
    at
org.apache.activemq.apollo.broker.BrokerConnection.on_transport_command(Connection.scala:144)
    at
org.apache.activemq.apollo.broker.Connection$$anon$1.onTransportCommand(Connection.scala:71)
    at
org.fusesource.hawtdispatch.transport.TcpTransport.drainInbound(TcpTransport.java:709)
    at
org.fusesource.hawtdispatch.transport.TcpTransport$6.run(TcpTransport.java:588)
    at
org.fusesource.hawtdispatch.internal.NioDispatchSource$3.run(NioDispatchSource.java:209)
    at
org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:100)
    at
org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)
2015-02-08 04:37:13,384 | WARN  | stackref=14b677a0801

Regards
gaikwajay




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Can-t-connect-via-Stomp-to-Apollo-broker-tp4667406p4691216.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to