Details
-
Feature Request
-
Resolution: Done
-
Major
-
7.1.0.CR1b
-
None
Description
According to AS7-1338 remote jndi was implemented. All objects which should be reachable to remote jms clients (like destinations and connection factories) should be now registered under "java:jboss/exported/" context.
I'm not sure which context we're going to use by default. It could be "java:jboss/exported/jms/" or simply "java:jboss/exported/" or some other context.
Following peace of configuration I've already tried and works:
<jms-connection-factories> ... <!-- configuration for connection factory --> <connection-factory name="RemoteConnectionFactory"> <connectors> <connector-ref connector-name="netty"/> </connectors> <entries> <entry name="java:jboss/exported/jms/RemoteConnectionFactory" /> <!- this is the important part --> </entries> </connection-factory> ... </jms-connection-factories> <jms-destinations> ... <jms-queue name="testQueue"> <entry name="java:jboss/exported/jms/queue/test"/> <!- this is the important part --> </jms-queue> ... </jms-destinations>