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 6E84A10911 for ; Wed, 7 Aug 2013 21:49:33 +0000 (UTC) Received: (qmail 22989 invoked by uid 500); 7 Aug 2013 21:49:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 22950 invoked by uid 500); 7 Aug 2013 21:49:32 -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 Delivered-To: moderator for users@activemq.apache.org Received: (qmail 11147 invoked by uid 99); 7 Aug 2013 21:43:30 -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: error (nike.apache.org: encountered temporary error during SPF processing of domain of asookazian@gmail.com) Date: Wed, 7 Aug 2013 14:42:04 -0700 (PDT) From: asookazian To: users@activemq.apache.org Message-ID: <1375911724216-4670177.post@n4.nabble.com> Subject: PooledConnectionFactory with JmsTemplate issue 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'm getting the following exception using PoolableConnectionFactory with JmsTemplate: Caused by: javax.jms.JMSException: Cannot send message to queue://Subscriber.global.Prm.Intuit.globalvirtual.dev.payments.data.RiskNotification.Virtual with invalid (null) producer state This same class/method works fine without changing the code if I use ActiveMQConnectionFactory with JmsTemplate. Spring config: pom.xml: org.apache.activemq activemq-all 5.4.2 org.apache.activemq activemq-pool 5.4.2-fuse-05-05 Any idea how to fix this? Thx. -- View this message in context: http://activemq.2283324.n4.nabble.com/PooledConnectionFactory-with-JmsTemplate-issue-tp4670177.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.