MDB using Remote Distirbuted Destination via Foreign JNDI Provider
Have the desire to access a Distributed Destination via code that can be deployed to any managed server in any cluster in the domain and be able to move the JMS services when desired without modifying the deployed code.
Basic environment configuration:
Cluster 1
Managed Server 11 (port:7011)
JMS Server 11
Managed Server 12 (port:7012)
JMS Server 12
Cluster 2
Managed Server 21 (port:7021)
Managed Server 22 (port:7022)
Cluster 3
Managed Server 31 (port:7031)
Managed Server 32 (port:7032)
A regular connection factory and queue targeted to MS11
A connection factory and distributed queue targeted at C1.
A foreign JNDI provider pointed at MS11 and targeted to C1, C2 & C3 with links to make both connection factories and queues available across the domain.