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 <cbenav...@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

Reply via email to