Forum Discussion
we have used jms snappack to talk to active mq, aws sqs, websphereMQ successfully in field and I see that JBOSS EAP uses activemq artemis as a JMS broker for mesaging subsystem so based on past experience we can with reasonable certainity say that with right configuration we can make it work with HornetQ too, attached are few pics of the activeMQ as well as artemis jms configuration (I am yet to test the artemis piece but activeMQ is tested). TBH I have never worked with HornetQ so out of curiosity I searched for HelloWorld kind of program and found this ref - Chapter 7. Using JMS
For talking to the JBoss JNDI Server, the jndi properties will look something like this:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://myhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
ConnectionFactory = ConnectionFactory
I think with relevant jar’s and this configuration you should be able to talk to HornetQ via JMS snap pack, I strongly suggest you give it a try and let us know how it goes, I would start with my existing Java HornetQ client code, reference the connestion properties in this code and configure JMS account accordingly.