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 0FB2210578 for ; Thu, 29 Aug 2013 12:16:20 +0000 (UTC) Received: (qmail 8009 invoked by uid 500); 29 Aug 2013 12:16:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 7725 invoked by uid 500); 29 Aug 2013 12:16:19 -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 7717 invoked by uid 99); 29 Aug 2013 12:16:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 12:16:18 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of hellknight@foxmail.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 12:16:14 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VF18K-00030j-B7 for users@activemq.apache.org; Thu, 29 Aug 2013 05:15:28 -0700 Date: Thu, 29 Aug 2013 05:15:05 -0700 (PDT) From: HellKnight To: users@activemq.apache.org Message-ID: <1377778505046-4670902.post@n4.nabble.com> Subject: Why I get "waiting for space to send transacted message" warning? 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 am using activemq 5.8.0 , jdk 1.7 , c# NMS (.NET 4.0). I write a producer and a consumer program for testing purpose. But I get the warning in the subject of this post : waiting for space to send transacted message . the producer program is sth like this(not the complete code) : ....... IConnectionFactory f1 = new ConnectionFactory("some url"); IConnection c1 = f1.CreateConnection(); ISession s1 = c1.CreateSession(AcknowledgementMode.Transactional); ITopic topic = Apache.NMS.Command.Topic("Testing Topic"); ........somewhere else in the code .......... for(int i=0;i<10;i++)//I create 10 producers to send messages concurrently { IMessageProducer prod = session.CreateProducer(destination); System.Threading.Thread t = new Thread(SendMessage); t.Start(prod); } private void SendMessage(object data) { IMessageProducer prod = (IMessageProducer)data; ........I create a BytesMessage ......... for(int i = 0 ;i<10000 ; i++) prod.send()//I send Message persistently s1.commit();//commit the transaction } the main part of the producer program is above. I didn't change the activemq.xml file , which means I am using the default configration of activemq. And from the web console I found out that no single message got enqueueed. Please help and thank you in advance . -- View this message in context: http://activemq.2283324.n4.nabble.com/Why-I-get-waiting-for-space-to-send-transacted-message-warning-tp4670902.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.