activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Slegeir (JIRA)" <>
Subject [jira] Created: (AMQCPP-324) Destination options are ignored
Date Fri, 22 Oct 2010 20:51:40 GMT
Destination options are ignored

                 Key: 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.

View raw message