From users-return-25204-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Mon Sep 06 11:41:24 2010 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 42469 invoked from network); 6 Sep 2010 11:41:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Sep 2010 11:41:24 -0000 Received: (qmail 62312 invoked by uid 500); 6 Sep 2010 11:41:24 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 61935 invoked by uid 500); 6 Sep 2010 11:41:20 -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 61498 invoked by uid 99); 6 Sep 2010 11:41:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 11:41:19 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 11:41:11 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Osa4A-0006by-Cm for users@activemq.apache.org; Mon, 06 Sep 2010 04:40:50 -0700 Date: Mon, 6 Sep 2010 04:40:50 -0700 (PDT) From: activeMqUser To: users@activemq.apache.org Message-ID: <1283773250376-2528245.post@n4.nabble.com> Subject: MessageProducer is failing to produce message to queue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, i am facing a problem in activeMQ. I am using ActiveMQ 5.2. I have 6 different queues where messages are keep on coming very frequently(100 msg per second). My Consumers are always active and consuming messages continuously without any error. But some time some Producers stops sending message to their respective Queue, Where as on the same broker other producers are actively producing messages. Interestingly some time the Producer is hanging after sending some 400 messages but when i restart the activeMq, without doing any change in activeMq.xml file it is producing messages upto more than 1lakhs and that is also without any issue. Sometime even after restart also it is again failing after producing a few messages(500). And i am not getting any type of exception on either side(ActiveMQ nor Client). Note: in my application i am opening a single connection and starting all the Producers and Consumers on start up of the application. So all the Consumers and Producers will be up and running from the beginning even though some producers or Consumers and doing their job at a certain time. On exception only i am closing the Connection as well as all the Producers and Consumers and again restarting all these. I am doing this becoz my application is accepting data very frequently(100 messages per second) and i have to process these data as quick as possible. So thought of starting all the Consumers and Producers on startup only. Please guide me if i am wrong in this case or if there is any thing else i can follow to make the things better. Thanks in advance :) -- View this message in context: http://activemq.2283324.n4.nabble.com/MessageProducer-is-failing-to-produce-message-to-queue-tp2528245p2528245.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.