Hi All,
Artemis has a queue definition that allow a list of queues under one address (https://activemq.apache.org/components/artemis/documentation/ ). There is a section about "Address model" on how to configure this type of queue. This queue can be accessed through client side jndi property although Artemis server does not have a jndi server provided.
In Wildfly 16 and beyond, the queue can be configured with routing type as ANYCAST. I can see that there is no JNDI entry for the queue. However, I tried to use client side jndi to access the queue and there was no error and the queue was not null. However, application complained the queue does not exist (Destination xxx does not exist) when I was trying to create a MessageConsumer with destination set to the queue.
Is there a way to use JNDI in wildfly 16 and above to access the queue?
Thanks
Wayne
Core queues are not bound to JNDI thus you have to access them using Artemis core API and their name / address like in this test for example: wildfly/CoreQueueManagementTestCase.java at master · wildfly/wildfly · GitHub