I have 2 servers which exchange jms message via mdb's. My question is there a way to configure each mdb to
listen to a queue on the other server using DI? I'm talking about something to replace the <destination-jndi-name>
AND the <provider-url> in the server-specific jar file. My target environment is weblogic.
I'm looking at something like:
The next question is if the above is possible, is the implementation vender specific, or it pretty much standardized?
posted 8 years ago
You need to configure the JMS resource (not in code). Should be as simple as configuring the queue on the application server for en external provider and referring to the queue via standard DI.
Hope it helps,
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1