Hi Uwe, this is not supported at the moment
https://issues.apache.org/activemq/browse/AMQ-2098 I hope it will be implemented in one of the following releases Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Thu, Feb 12, 2009 at 3:31 PM, Uwe Kubosch <u...@datek.no> wrote: > 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/ > >