activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Converting message format while doing JMS Bridging.
Date Thu, 13 Oct 2011 09:58:23 GMT
you will need to provide your own message convertor to do that. An impl of
org.apache.activemq.network.jms.JmsMesageConvertor
http://activemq.apache.org/jms-to-jms-bridge.html

On 13 October 2011 07:52, cbenaveen <cbenaveen@gmail.com> wrote:
> In my app, we have enabled JMS Bridging support by which we are planning to
> forward topic messages from Dest-A => Dest-B and vice versa.
>
> But the problem here is that, Dest-A deals in one format of message such as
> Object Message (A custom POJO) and Dest-B deals in Text Based messages.
>
> Now how do i convert the Object message into Text Message before the message
> forwarded from Dest-A to Dest-B.
>
> On the other side, while consuming message from Dest-B (again JMS Bridging),
> i need to convert the TextMessage into ObjectMessage before putting it in
> Dest-A MOM.
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Converting-message-format-while-doing-JMS-Bridging-tp3900725p3900725.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message