activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: REST & MapMessage
Date Tue, 09 Sep 2008 13:27:52 GMT

the reason map messages are not supported in the rest interface is
because there is no appropriate default representation of map messages
in the HTTP response.

You can, for example, use message transformers

to convert your map messages to text messages with xml/json
representation of maps.


Dejan Bosanac - get a free ActiveMQ user guide

ActiveMQ in Action -
Scripting in Java -

yesnid wrote:
> Hello All,
> I have a consumer that is receiving messages via the rest interface, if I
> send a message with a body like: "FOO" it receives it fine. However when the
> body contains a Map from a MapMessage, all is not well. I noticed that from
> the admin screen I can browse the queue->message and validate that the Map
> is in the body however, when I try to access that in the code I seem to be
> unable to do so.
> Thank you,

View raw message