Hi all! I am connecting to ActiveMQ using stomp.
I need to get the connection information for clients from ActiveMQ. My first thought was to subscribe to /topic/ActiveMQ.Advisory.Connection. Subscription and message receive work, but the payloads of the messages are empty. I receive messages when clients connect or disconnect, but the messages are empty when they reach MyProcessor#onMessage Looking at http://activemq.apache.org/advisory-message.html I found this: "A subscription to each of the destination returns an ActiveMQMessage. Specific DataStructure objects (ie. ConsumerInfo, ProducerInfo,ConnectionInfo) can be retrieve via getDataStructure method of ActiveMQMessage." My suspicion is that the JMS message posted on the topic loses all significant information when converted to a Stomp message. Can anyone confirm or deny this? If my suspicion is correct, I guess I must use a JMS connection. Are there any problems using a JMS connection together with a Stomp connection to the same ActiveMQ server? Any help is greatly appreciated. -- With kind regards, Uwe Kubosch Datek Wireless Norway http://datek.no/