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 368B99D33 for ; Mon, 21 May 2012 08:35:25 +0000 (UTC) Received: (qmail 50631 invoked by uid 500); 21 May 2012 08:35:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 49840 invoked by uid 500); 21 May 2012 08:35:16 -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 49779 invoked by uid 99); 21 May 2012 08:35:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 08:35:13 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 08:35:08 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SWO4m-0006P6-5l for users@activemq.apache.org; Mon, 21 May 2012 01:34:48 -0700 Date: Mon, 21 May 2012 01:34:48 -0700 (PDT) From: Lister To: users@activemq.apache.org Message-ID: <1337589288134-4647863.post@n4.nabble.com> Subject: Oracle AQ JMS Bridge with Active MQ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I followed the advice found on this link: http://activemq.apache.org/jms-bridge-with-oracle-aq.html and got most of the way there. However, I am reading Oracle Object types off the Oracle AQ and as a result I get a JMS-137 error "Payload factory must be specified for destinations with ADT payloads". I do not understand how I can specify the Factory I have created in the configuration to handle the custom payload. When writing a simple program to read messages off the Oracle AQ I simple do: ORADataFactory orad = new DataFactory(); QueueReceiver receiver = ((AQjmsSession)queueSession).createReceiver(queue, orad); queueConnection.start(); Does anyone know how to do this? If so, help would be much appreciated a I have googled this to death. Thanks, J -- View this message in context: http://activemq.2283324.n4.nabble.com/Oracle-AQ-JMS-Bridge-with-Active-MQ-tp4647863.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.