activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Convert Text message to Map message in ActiveMQ
Date Fri, 06 Dec 2013 14:50:05 GMT
On 12/06/2013 05:59 AM, Sophia Wright wrote:
> Hi,
> I have usecase where I am sending a text message from STOMP producer in json
> format and I am processing that message in a java consumer. I want that
> message to be converted to a Map message.
>
> Is there a way in which ActiveMQ can do this transformation (text message to
> map message) for me?
>
> Please guide me on how to this using ActiveMQ.
>
> Thanks,
> Sophia
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Convert-Text-message-to-Map-message-in-ActiveMQ-tp4675245.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
You want to use the Message transformation bits, see this page for some 
details.
http://activemq.apache.org/stomp.html

You can also look at the StompTest.java in activemq-stomp unit tests for 
some examples.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message