Standalone HornetQ and JBoss do not work together

Using JBoss 5.1.0GA and HornetQ 2.1.2 offline. The problem is this: although I can post messages using the JMS client on the hornetQ server, I cannot post messages using myApp, which is deployed to JBoss.It, says javax.naming.NameNotFoundException. I think this is because the ConnectionFactory does not appear in the GlobalJNDI namespace (see Jmx-console).

How can I associate ConnectionFactory with the GlobalJNDI namespace so that JBoss knows about its existence?

thank.

+3
source share
1 answer

, factory JNDI. , ( JMS RA) HornetQ Resource Adapter (RA), HornetQ "remote".

+1

Source: https://habr.com/ru/post/1796037/


All Articles