From users-return-29083-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Oct 13 06:53:10 2011 Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B62093A0 for ; Thu, 13 Oct 2011 06:53:10 +0000 (UTC) Received: (qmail 48064 invoked by uid 500); 13 Oct 2011 06:53:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48036 invoked by uid 500); 13 Oct 2011 06:53:07 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 48025 invoked by uid 99); 13 Oct 2011 06:53:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 06:53:02 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of cbenaveen@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 06:52:56 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1REF9g-0002T1-Eg for users@activemq.apache.org; Wed, 12 Oct 2011 23:52:36 -0700 Date: Wed, 12 Oct 2011 23:52:36 -0700 (PDT) From: cbenaveen To: users@activemq.apache.org Message-ID: <1318488756447-3900725.post@n4.nabble.com> Subject: Converting message format while doing JMS Bridging. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.