ntumba lobo wrote:if you have your mdb running on serverA and the queue on server you can create on serverA a connectionfactory (remoteCF) that points to server B.
your mdb on serverA will get its connections from this remoteCF.
To do this in glassfish you can configure your connection factory with a property called "AddressList" that allows to point remotely.
This property may be server specific so you need to check the doc of your server for the equivalent property.
what you are trying to do is described in the jee5 tutorial from p981 "An Application ExampleThat Consumes Messages froma
ntumba lobo wrote:Yes it is possible, you need to do a remote JNDI look up.
From server A if you want to access a JMS resource on server B you need to create an InitialContext object with extra parameters
like url provider that is pointing to server B.