activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Fernandez (JIRA)" <>
Subject [jira] Reopened: (AMQ-1629) wildcards don't work in networkconnector excludeDestinations
Date Tue, 14 Oct 2008 12:27:52 GMT


Joe Fernandez reopened AMQ-1629:

    Regression: [Regression]

If you have something like this, all messages get excluded; no matter their destination's

    <queue physicalName="fubar.>"/>     
    <topic physicalName="fubar.>"/>         

However, if you change it slightly like this (just took out the 'r' in one of them), then
things seem to work.

     <queue physicalName="fubar.>"/>     
      <topic physicalName="fuba.>"/>         

If there are no dots things seem to also work.
Bottom line is that this needs more attention and more thorough testing. 

> wildcards don't work in networkconnector excludeDestinations 
> -------------------------------------------------------------
>                 Key: AMQ-1629
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 4.1.1, 5.0.0
>         Environment: linux
>            Reporter: Sridhar Komandur
>            Assignee: Rob Davies
>             Fix For: 5.1.0
>         Attachments: amq1629.txt
> Version: 5.0 
> We have a simple setup to test excludedDestinations config ...We are using the broker
and  example producer & consumer from the binary distribution (broker instances A &
B are on different hosts 
> Setup: 
> producer --- A ---- B--- consumer 
> Broker A's activemq.xml has the following for NC config (everythingelse is the same as
in the orig config file):
>     <networkConnectors> 
>       <networkConnector name="toB" uri="static://(tcp://"> 
>            <excludedDestinations> 
>                 <queue physicalName="TEST.>" /> 
>            </excludedDestinations> 
>      </networkConnector> 
>     </networkConnectors> 
> Issue: consumer attached to Broker B sees all the messages sent to TEST.FOO (the default
messages generated by the producer)
> We noticed that none of the queue or topic wildcards work, only specific topic or queue
names work in the exclusion. However,
states "N.B. You can use wildcards in inclusive , exclusive destination properties". Are we
missing anything ? 
> Thanks 
> - Sridhar

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message