Dear mailing list,

my STOMP client receives ObjectMessage STOMP frames with the
transformation=jms-json header set, but with an empty body.

In my test, a Java client sends object messages to the broker, specifying
jms-json transformation.

The JAR file for the SamplePojo class, jettison and xstream are in the lib
folder. 

The admin console shows the object message with "transformation jms-json" in
the property list, and "samplep...@6dd60e" in the message details.

The Java client can also successfully read the object message back from the
broker.

However, my STOMP client receives the message without any JSON content. In
my client, I have also included 'transformation=jms-json' to the SUBSCRIBE
frame as mentioned in http://activemq.apache.org/stomp.html

This is the received message content:

MESSAGE
redelivered:true
message-id:ID:acer-995304b6c9-1168-1233235401609-0:0:1:1:1
transformation:jms-json
destination:/queue/TOOL.OBJECT.JSON
timestamp:1233235401968
expires:0
subscription:{D055D632-E777-48FE-9B18-1729457390F0}
priority:4

I have tried with ActiveMQ 5.1 and 5.2 
And have no more ideas what could be wrong.

Best Regards
Michael Justin




-- 
View this message in context: 
http://www.nabble.com/Broker-sends-empty-body-in-STOMP-ObjectMessage-%28using-jms-json-transformation%29-tp21727046p21727046.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to