[jira] [Updated] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-06-21 Thread Moritz (Jira)


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

Moritz updated ARTEMIS-4270:

Attachment: topic-hierarchies-bug-updated.zip

> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug-updated.zip, 
> topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening to *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M1
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Reopened] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-06-21 Thread Moritz (Jira)


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

Moritz reopened ARTEMIS-4270:
-

Sorry for the inconvenience. I thought the comments in the code would be 
enough. I adjusted the example and added an assertion at the end. Hope this 
helps.

> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening to *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M1
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-06-19 Thread Moritz (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17734067#comment-17734067
 ] 

Moritz commented on ARTEMIS-4270:
-

news.europe.#I just ran the test again with the latest 2.29.0 snapshot build 
and I still miss the message: 

 

 
{code:java}
 News Europe: Received message: Lewis Hamilton joins European synchronized 
swimming team
 News Europe: Received message: John Lennon resurrected from dead
 News: Received message: Hulk Hogan starts ballet classes
 News: Received message: Lewis Hamilton joins European synchronized 
swimming team
 News: Received message: John Lennon resurrected from dead
 News: Received message: This is my europe message{code}
(Note the messages with prefix  are for the consumer subscribed to *news.#* 
and the ones with prefix  are for the consumer subscribed to 
{*}news.europe.#{*})

The one message missing is 
{code:java}
 News Europe: Received message: This is my europe message {code}
I send the message to *news.europe*

 

> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening to *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M1
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-06-16 Thread Moritz (Jira)


[ 
https://issues.apache.org/jira/browse/ARTEMIS-4270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17733433#comment-17733433
 ] 

Moritz commented on ARTEMIS-4270:
-

Any updates on this one?

> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening to *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M1
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-05-03 Thread Moritz (Jira)


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

Moritz updated ARTEMIS-4270:

Description: 
There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening to *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M1

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2. When using 
*consumer.receive()* it also works as expected.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).

 

 

  was:
There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening tow *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M1

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2. When using 
*consumer.receive()* it also works as expected.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).

 

 


> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening to *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M1
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-05-03 Thread Moritz (Jira)


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

Moritz updated ARTEMIS-4270:

Description: 
There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening tow *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M1

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2. When using 
*consumer.receive()* it also works as expected.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).

 

 

  was:
There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening tow *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M2

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2. When using 
*consumer.receive()* it also works as expected.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).

 

 


> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening tow *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M1
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-05-03 Thread Moritz (Jira)


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

Moritz updated ARTEMIS-4270:

Description: 
There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening tow *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M2

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2. When using 
*consumer.receive()* it also works as expected.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).

 

 

  was:
There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening tow *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M2

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).


> Messages get lost when using multiple consumers with topic hierarchies
> --
>
> Key: ARTEMIS-4270
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: JMS
>Affects Versions: 2.24.0
>Reporter: Moritz
>Priority: Major
> Attachments: topic-hierarchies-bug.zip
>
>
> There is an issue when we have the following setup:
>  * Shared durable consumer A listening to *news.#*
>  * Shared durable consumer B listening tow *news.europe.#*
>  * Message M1 sent to *news.europe.sports*
>  * Message M2 sent to *news.europe*
> Expected behavior:
>  * A receives M1 and M2
>  * B receives M1 and M2
> Actual behavior:
>  * A receives M1 and M2
>  * B receives M2
> This happens when it is run with a clean Artemis, i.e. without any previous 
> data. If we run it a second time B receives M1 and M2. When using 
> *consumer.receive()* it also works as expected.
>  
> This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
> it so I chose the second version I've tested it for. The attached project 
> showcases the bug where I simply adjusted the example 
> {*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.
> I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions 
> concerning the topic not being multicast (already with the original example).
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (ARTEMIS-4270) Messages get lost when using multiple consumers with topic hierarchies

2023-05-03 Thread Moritz (Jira)
Moritz created ARTEMIS-4270:
---

 Summary: Messages get lost when using multiple consumers with 
topic hierarchies
 Key: ARTEMIS-4270
 URL: https://issues.apache.org/jira/browse/ARTEMIS-4270
 Project: ActiveMQ Artemis
  Issue Type: Bug
  Components: JMS
Affects Versions: 2.24.0
Reporter: Moritz
 Attachments: topic-hierarchies-bug.zip

There is an issue when we have the following setup:
 * Shared durable consumer A listening to *news.#*
 * Shared durable consumer B listening tow *news.europe.#*
 * Message M1 sent to *news.europe.sports*
 * Message M2 sent to *news.europe*

Expected behavior:
 * A receives M1 and M2
 * B receives M1 and M2

Actual behavior:
 * A receives M1 and M2
 * B receives M2

This happens when it is run with a clean Artemis, i.e. without any previous 
data. If we run it a second time B receives M1 and M2.

 

This also affects at least version *3.0.0-SNAPSHOT* however I couldn't select 
it so I chose the second version I've tested it for. The attached project 
showcases the bug where I simply adjusted the example 
{*}apache-artemis-3.0.0-SNAPSHOT/examples/features/standard/topic-hierarchies{*}.

I couldn't test it with 2.29.0-SNAPSHOT since I would get exceptions concerning 
the topic not being multicast (already with the original example).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)