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 7A8B318793 for ; Tue, 3 Nov 2015 20:05:14 +0000 (UTC) Received: (qmail 46915 invoked by uid 500); 3 Nov 2015 20:05:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 46865 invoked by uid 500); 3 Nov 2015 20:05:09 -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 85502 invoked by uid 99); 3 Nov 2015 19:21:42 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.19 X-Spam-Level: **** X-Spam-Status: No, score=4.19 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FORGED_YAHOO_RCVD=1.022, NML_ADSP_CUSTOM_MED=1.2, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Date: Tue, 3 Nov 2015 11:08:29 -0800 (PST) From: JackOfAllTrades To: users@activemq.apache.org Message-ID: <1446577709482-4703642.post@n4.nabble.com> In-Reply-To: References: <1446128479223-4703485.post@n4.nabble.com> Subject: Re: AMQ CPP Consumer Receive() and receiveNoWait() does not return MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit All I can do at the moment.... auto_ptr factory( new ActiveMQConectionFactory (MY_BROKER_URL)); cms::Connection* conxn=null; conxn=factory->CreatConnection(); auto_ptr myConn(dynamic_cast(conxn)); myConn->start(); auto_ptr mySession; mySession.reset(myConn->CreateSession(Session::AUTO_ACKNOWLEDGE)); auto_ptr myDest; myDest.reset(mySession->CreateQueue(MY_QUEUE_URI)); auto_ptr myConsumer; myConsumer.reset(MySession->createConsumer(MyDest.get())); myConsumer->receive(1000); or myConsumer->receiveNoWait(); This all worked just fine under 2.4.4. all calls to receive now hang.....they just don't return. auto_ptr myConsumer; -- View this message in context: http://activemq.2283324.n4.nabble.com/AMQ-CPP-Consumer-Receive-and-receiveNoWait-does-not-return-tp4703485p4703642.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.