Hello there,

I've been trying to move from ActiveMQ classic to Artemis.

The example I've been using to test comes with the ActiveMQ 5.17.3 package
under
apache-activemq-5.17.3/examples/openwire/advanced-scenarios/jms-example-queue
(I would link it, but I'm not where it is in the code). Specifically, the
Producer.java file. I've been using this example to connect to a local
Artemis 2.27.1 instance (to test the backwards compatibility of OpenWire
ActiveMQ JMS 5.x clients with Artemis).

Basically, once I set a breakpoint after creating the producer, the
producer does not show up in the Artemis console UI under "Producers" at
any level (under the queue, address, or overall).

However, when I add in a dependency to artemis-jms-client 2.27.1 and swap
out the connection factory to be
"org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory" (and
make no other changes to that file), the producer does show up in the UI,
which makes me think this is an OpenWire-specific issue.

Some things to note:
- Using Java 17
- The producer is producing as normal. It's just not showing up in the UI.
- The consumers, both OpenWire and Core, show up in the UI as normal.
- The sessions, both OpenWire and Core, show up in the UI as normal.

I have not been able to recreate a scenario in which an OpenWire producer *does
*show up in the management UI, so I'm wondering if this is intended
behaviour or not?

Thanks

Reply via email to