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 BADB6C2F2 for ; Wed, 19 Jun 2013 09:52:06 +0000 (UTC) Received: (qmail 41904 invoked by uid 500); 19 Jun 2013 09:52:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 41547 invoked by uid 500); 19 Jun 2013 09:51:59 -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 41531 invoked by uid 99); 19 Jun 2013 09:51:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:51:57 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_ENVFROM_END_DIGIT,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:51:53 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UpF2N-0002Lh-Tr for users@activemq.apache.org; Wed, 19 Jun 2013 02:50:47 -0700 Date: Wed, 19 Jun 2013 02:50:32 -0700 (PDT) From: cineva To: users@activemq.apache.org Message-ID: <1371635432905-4668344.post@n4.nabble.com> Subject: ActiveMQ-CPP - Why can't I delete a consumer before a session commit? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org If I delete a consumer before I commit a session I get an access violation error in ActiveMQConsumerKernel.cpp in ActiveMQConsumerKernel::doClose() at this line: info->setObjectId(this->consumerInfo->getConsumerId()); If this is correct behavior then what it's a recommended way to get a lot of messages with different selectors before a commit? Should a consumer be used for every new selector? -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-CPP-Why-can-t-I-delete-a-consumer-before-a-session-commit-tp4668344.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.