You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Michael Justin <mi...@gmx.net> on 2013/07/04 07:41:03 UTC

ActiveMQ 5.9 STOMP - XmlPullParserException for transformation:jms-map-xml

Today I have tested STOMP suppport in apache-activemq-5.9-20130609.

Using jms-object-xml works fine,  but when I try to receive a 
jms-map-xml message, a org/xmlpull/v1/XmlPullParserException is thrown.
The same test code also works well with ActiveMQ 5.8.0.

Is there a way to get additional information about this error, for 
example by detailed logging?

Steps to reproduce:

1. Send XML encoded map to example queue
2. Subscribe to example queue, specifying transformation:jms-map-xml
3. The message frame arrives but contains the transformation error

Example:

SEND
destination:/queue/ExampleQueue
transformation:jms-map-xml


(body XML, not shown)

SUBSCRIBE
destination:/queue/ExampleQueue
ack:auto
id:{C94724C2-ED79-4921-968A-25C72F36C2EE}
transformation:jms-map-xml


MESSAGE
message-id:ID:mj-PC-49963-1372915633010-6:157:-1:1:1
transformation:jms-map-xml
destination:/queue/ExampleQueue
timestamp:1372915988203
expires:0
subscription:{C94724C2-ED79-4921-968A-25C72F36C2EE}
transformation-error:org/xmlpull/v1/XmlPullParserException
priority:4


Regards
-- 
Michael Justin