activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-980) lastImageSubscriptionRecoveryPolicy does not work with wildcards
Date Wed, 18 Oct 2006 14:52:16 GMT
     [ https://issues.apache.org/activemq/browse/AMQ-980?page=all ]

james strachan resolved AMQ-980.
--------------------------------

    Fix Version/s: 4.1
       Resolution: Cannot Reproduce

I've created a JUnit test case to try reproduce the issue.  I've added the test case RetroactiveConsumerTestWithLastImagePolicyWithWildcardTest
(in the activemq-core module)

which creates a broker without persistence, sends 20 messages to different topics, then creates
a retroactive consumer using a wildcard and it receives all 20 messages on each topic.

Am wondering how to reproduce your issue - any ideas? Does this issue only show itself in
ActiveMQ.Net?

> lastImageSubscriptionRecoveryPolicy does not work with wildcards
> ----------------------------------------------------------------
>
>                 Key: AMQ-980
>                 URL: https://issues.apache.org/activemq/browse/AMQ-980
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.0.2
>         Environment: Windows, JDK 1.5
>            Reporter: Rob Lugt
>             Fix For: 4.1
>
>
> The lastImageSubscriptionRecoveryPolicy does not appear to work with wildcards.
> In the following example, a new consumer only receives one message for the topics covered
by the wildcard instead of receiving one message for each topic.
>  
> config file:- 
>           <policyEntry topic="PRICES.>"> 
>             <subscriptionRecoveryPolicy> 
>               <lastImageSubscriptionRecoveryPolicy/> 
>             </subscriptionRecoveryPolicy> 
>           </policyEntry> 
>  
> consumer subscription:- 
>           GetTopic("PRICES.>?consumer.retrocactive=true"); 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message