activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yury Batrakov <>
Subject Re: Active MQ sends empty message bodies via Stomp
Date Sun, 05 Apr 2009 21:24:54 GMT

Hi Dejan,

Thank you for your help, it's working now. There were two points that should
have been took into account: first one is to configure XStream as you noted
below and the second one is to be careful enough and not to be misguided by that states that "transformation"
property should be set in Java Object messages, not in Stomp SUBSCRIBE one.

Dejan Bosanac wrote:
> Hi Yury,
> note that you have to configure XStream properly so it can use your class'
> annotations, like
>   <bean class="org.apache.activemq.util.XStreamFactoryBean"
> name="xstream">
>           <property
> name="annotatedClass"><value>org.apache.activemq.transport.stomp.SamplePojo</value></property>
>   </bean>

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message