Further more, I have tested the following case:
I pre-configured a topic in broker.xml:
<address name="preDefTopic">
<multicast/>
</address>
And test the same sequence as I described earlier:
1.) Start sender program first and send a message, and then start receiver.
There is a multicast queue created after I started receiver. However, I
couldn't located the message I send to the topic. The message count on the
newly created multicast queue is 0. Is there a way to retrieve the message
sent to the topic before receiver registered to the topic?
2.) Start receiver first and then start sender, now the message received
successfully.
Thanks,
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Artemis-2-2-0-createTopic-create-an-anycast-when-there-is-no-consumer-created-tp4729269p4729273.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.