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
http://activemq.apache.org/stomp.html 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: 
http://www.nabble.com/Active-MQ-sends-empty-message-bodies-via-Stomp-tp22829522p22898868.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to