On Dec 9, 2003, at 7:39 AM, Adrian Brock wrote:

snip

Completely separate from HA, it is possible to configure
jboss's mdb to listen to multiple servers.
You do this configuring multiple jms providers and then
attaching an invoker proxy binding for each provider to
the mdb.
That way clients can send to any machine and the mdb will
retrieve it. But this does not provide failover.
e.g. If the client sends a message to a server that dies before
the mdb retrieves it, you will have to wait until the server
recovers before the mdb processes it.


Adrian,

This sounds like it might work for me in the short term. I have looked through the xml and have some confusion on how to do this.

I know how to define invoker-proxy-bindings and specify them for the MDB in jboss.xml. I have always left the <JMSProviderAdapterJNDI>DefaultJMSProvider</JMSProviderAdapterJNDI> alone but I assume I need to specify it differently for the remote queue. I see in jms-ds.xml that <attribute name="ProviderName">DefaultJMSProvider</attribute> is defined. Do I need to create another jms-ds.xml that has a different ProviderName that somehow refers to the other server? Can you give me and example?

Thanks,
Bruce

Reply via email to