[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

STOMP anycastPrefix difference between 2.4.0 and 2.5.0 above

On my tests with STOMP and Artemis I found a little difference in behavoir
between 2.4.0 and 2.5.0 and above (newest 2.6.2).

With 2.4.0 I can use this acceptor configuration in broker.xml (I think it
is default):

When I SEND a message to destination "/queue/TestQ" Artemis creates a
durable ANYCAST queue and keeps the message until a client reads the message

With the same acceptor config using Version 2.5.0 and above (newest 2.6.2)
SEND the same message to destination "/queue/TestQ" Artemis creates a
non-durable MULTICAST queue. Because there is no consumer for the message it
is dropped immediately because no route.

To get the same behavoir in 2.6.2 I found the solution to add the parameter
"anycastPrefix=/queue/" in the acceptor element:

For full details see discussion with jbertram on

Sent from: