Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 45449 invoked from network); 31 Mar 2010 15:03:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 Mar 2010 15:03:29 -0000 Received: (qmail 90883 invoked by uid 500); 31 Mar 2010 15:03:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 90801 invoked by uid 500); 31 Mar 2010 15:03:28 -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 90793 invoked by uid 99); 31 Mar 2010 15:03:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 15:03:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2010 15:03:24 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NwzRf-0003TG-An for users@activemq.apache.org; Wed, 31 Mar 2010 08:03:03 -0700 Message-ID: <28097168.post@talk.nabble.com> Date: Wed, 31 Mar 2010 08:03:03 -0700 (PDT) From: sweenma To: users@activemq.apache.org Subject: ActiveMQ to Websphere MQ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mark.sweeney@verizonwireless.com Hi, I am new to ActiveMQ and Q'ing in general, so I will do my best to explain the issue and ask for your patience. I followed the suggestions of many postings on how to get ActiveMQ to forward msg's to Websphere MQ using camel. I got it to work, however the amount of time it takes to forward the msg from ActiveMQ to Websphere MQ is very high, around 2 secs. I enabled the logging and I noticed that it appears that the communication between ActiveMQ and WebSphere MQ runs 1 thread at a time. For example, I have a simple multithreaded producer that puts msg's in to the ActiveMQ. ActiveMQ is configured to forward the msg's to WebSphere MQ and then I have a simple MDB listener to read the msg's from the WebSphere MQ. With logging enabled I can see a msg being processed by a thread and then another msg being processed by another thread after the first thread completes. Here is a samle of the log: 2010-03-31 08:32:44,743 [DefaultMessageListenerContainer-29] org.apache.activemq.ActiveMQMessageConsumer - ID:WNJ10002LDVSBAG -1559-1270038729745-2:0:1:1 received message: MessageDispatch {commandId = 0, responseRequired = false, consumerId = ID:WNJ10002LDVSBAG-1559-1270038729745-2:0:1:1, lots of other log entries with the same thread id DefaultMessageListenerContainer-29 followed by the next msg log entry: 2010-03-31 08:32:46,539 [DefaultMessageListenerContainer-30] org.apache.activemq.ActiveMQMessageConsumer - ID:WNJ10002LDVSBAG -1559-1270038729745-2:0:1:1 received message: MessageDispatch {commandId = 0, responseRequired = false, consumerId = ID:WNJ10002LDVSBAG-1559-1270038729745-2:0:1:1 and so on for each msg that was put into the ActiveMQ queue. I noticed that the ID for each ActiveMQMessageConsumer is the same, however I am not sure if this is relavant or not. I am using activemq V5.2.0I with Java V1.5. I pasted a copy of the activemq.xml file below. I am really stuck here and would appreciate any help. TIA. file:///${activemq.base}/conf/credentials.properties -- View this message in context: http://old.nabble.com/ActiveMQ-to-Websphere-MQ-tp28097168p28097168.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.