activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQCPP-324) Destination options are ignored
Date Fri, 22 Oct 2010 21:28:41 GMT

     [ https://issues.apache.org/activemq/browse/AMQCPP-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQCPP-324.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 3.2.3)
                   3.2.4

Fixed in trunk and 3.2.x fixes branch.

Producer has no advertised URI options.

> 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.4
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> 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.


Mime
View raw message