Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 27837 invoked from network); 22 Oct 2010 20:52:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Oct 2010 20:52:04 -0000 Received: (qmail 58875 invoked by uid 500); 22 Oct 2010 20:52:04 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 58849 invoked by uid 500); 22 Oct 2010 20:52:04 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 58838 invoked by uid 99); 22 Oct 2010 20:52:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Oct 2010 20:52:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Oct 2010 20:52:01 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9MKpeOh016432 for ; Fri, 22 Oct 2010 20:51:40 GMT Message-ID: <12155034.65431287780700380.JavaMail.jira@thor> Date: Fri, 22 Oct 2010 16:51:40 -0400 (EDT) From: "Mike Slegeir (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQCPP-324) Destination options are ignored MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org Destination options are ignored ------------------------------- Key: AMQCPP-324 URL: https://issues.apache.org/activemq/browse/AMQCPP-324 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Environment: Running on Windows with MSVC 2008 but should apply everywhere Reporter: Mike Slegeir Assignee: Timothy Bish Priority: Minor Fix For: 3.2.3 It seems that any options set on a destination, although read, are ultimately ignored. In this case, I was trying to set consumer.prefetchSize on a single queue that I was consuming. However, the setting was never applied. Stepping through, I saw that the setting was read and stored in the destination's properties. But when the session created the consumer, it only checked the connection's prefetch. After further investigation, it seems that the problem is that ActiveMQConsumer::applyDestinationOptions is never called. Adding the call applyDestinationOptions( consumerInfo ); to the end of the ActiveMQConsumer seems to fix the problem for me. However, I would imagine that destination options for producers are ignored, but I didn't look into that as it's not been an issue yet. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.