Hi,

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

http://activemq.apache.org/message-transformation.html

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

Cheers

-- 
Dejan Bosanac


http://www.ttmsolutions.com - get a free ActiveMQ user guide

ActiveMQ in Action - http://www.manning.com/snyder/
Scripting in Java - http://www.scriptinginjava.net



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,
>   


Reply via email to