You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/09 17:05:00 UTC

[jira] [Work logged] (ARTEMIS-2943) Multicast Static filter for topics not working

     [ https://issues.apache.org/jira/browse/ARTEMIS-2943?focusedWorklogId=550330&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-550330 ]

ASF GitHub Bot logged work on ARTEMIS-2943:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Feb/21 17:04
            Start Date: 09/Feb/21 17:04
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request #3445:
URL: https://github.com/apache/activemq-artemis/pull/3445


   The static-selector example was using a multicast queue instead of an
   anycast queue which meant that the consumer never actually received any
   of the messages. Furthermore, it wasn't actually verifying that it
   received the proper messages so there was no failure. This commit
   resolves these issues.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 550330)
    Remaining Estimate: 0h
            Time Spent: 10m

> Multicast Static filter for topics not working
> ----------------------------------------------
>
>                 Key: ARTEMIS-2943
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2943
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.16.0
>            Reporter: Rajesh Reddy Kasala
>            Assignee: Justin Bertram
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Steps to reproduce:
> examples/features/standard/static-selector
> When running above test,  NONE of the messages (of color 'red') are received. Test case should assert on receiving 'red' messages. As of it only asserts that non-red messages are not received.
> This works fine if we change queue type from multicast to anycast in broker.xml.
>  
> Static filter for Topics:
> But when i change the test case from createQueue() to createTopic(), and change exampleQueue with exampleTopic in all places like StaticSelectorExample.java, JNDI.properties and broker.xml ALL messages are received instaed of only 'red' messages.
>  
> Am i missing something ? How can i implement static filter on topics(multicast) ?
>  
> Note: i am running the test case from master branch :
> https://github.com/apache/activemq-artemis



--
This message was sent by Atlassian Jira
(v8.3.4#803005)