Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 97956 invoked from network); 11 Jul 2008 10:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2008 10:43:12 -0000 Received: (qmail 57874 invoked by uid 500); 11 Jul 2008 10:43:11 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 57854 invoked by uid 500); 11 Jul 2008 10:43:11 -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 57843 invoked by uid 99); 11 Jul 2008 10:43:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 03:43:11 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG 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; Fri, 11 Jul 2008 10:42:17 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KHG5H-0000Fk-M8 for users@activemq.apache.org; Fri, 11 Jul 2008 03:42:39 -0700 Message-ID: <18401066.post@talk.nabble.com> Date: Fri, 11 Jul 2008 03:42:39 -0700 (PDT) From: michaellear To: users@activemq.apache.org Subject: Re: Producer Stops Sending messages In-Reply-To: <36e91d9d0806180305k79d3eb8eyd030f72dc9bdf02b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mikelear@condotta.co.uk References: <17979168.post@talk.nabble.com> <36e91d9d0806180305k79d3eb8eyd030f72dc9bdf02b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Dejan Thanks for your reply and sorry I've took so long to get back but I got sent onto another project for 2 weeks. I was using the Pooledconnection and it would seem that the Gotacha's did infact get me!. I've changed this around and am using JMS not the Spring JMS template for the publishing side and everything seems to be working fine. Thanks Mike Dejan Bosanac wrote: > > Hi Mike, > > do you use pooled connection factory? > > Take a look at > http://activemq.apache.org/spring-support.html#SpringSupport-WorkingwithSpring%27sJmsTemplate > http://activemq.apache.org/jmstemplate-gotchas.html > > for more info about producing messages with JmsTemplate > > Cheers > -- > Dejan Bosanac > www.scriptinginjava.net > > On Wed, Jun 18, 2008 at 11:38 AM, michaellear > wrote: > >> >> Hi >> >> I wonder if some maybe able to help in some problems we are having when >> sending messages to our Broker. I'm new to activemq and as a company we >> are >> looking at introducing it. We are using >> >> unbuntu version 2.6.24 >> ActiveMQ 5.1 >> Java 1.6 >> spring 2.5 >> >> I have a spring application that connects to a database and reads 60,000 >> rows as each row is processed I create a message using springs >> jmsTemplate.send with a MessageCreator creating a MapMessage. This all >> works fine for about 5000 messages and then the producer just stops. I've >> got DEBUg on and it just stops after ActiveMQSession.send. I changed the >> connection string to include wireFormat.maxInactivityDuration=0 but this >> doesn't make any difference except that when this isn't set the DEBUG >> InactivityMonitor outputs messages. Any help would be greatly >> appreciated. >> >> >> Thanks >> >> Mike >> -- >> View this message in context: >> http://www.nabble.com/Producer-Stops-Sending-messages-tp17979168p17979168.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > ----- > Dejan Bosanac > www.scriptinginjava.net > -- View this message in context: http://www.nabble.com/Producer-Stops-Sending-messages-tp17979168p18401066.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.