Exchanging messages across JBossMQ<==>Sun 1MQ
Hello,
Using Sun 1MQ to produce the messages and Need to consume messages using JBossMQ.
Could any one help me with this.
Thanks
Sai
Hello,
Using Sun 1MQ to produce the messages and Need to consume messages using JBossMQ.
Could any one help me with this.
Thanks
Sai
Hi,
about your question it is a little bit confused, usually the jms provider is one, but, anyway, as I believe there is no way to make them work toghether without writing a jms client using both providers. This is what I did to use Sun 1MQ from jboss as jms provider. O suppose you can then use multiple jndi names for the providers and write a sort of message gateway.
With older versions of jboss it was quite long to implement (you needed to code a couple of interface impls, see a post from me on this:
http://forum.java.sun.com/thread.jspa?forumID=711&threadID=5045414), with 4.0.5.GA just implement (add in the xml conf file) the properties needed by the lookup on an external jndi ldap provider. I suppose it is just a matter of setting jndi properties, that are a couple more than the standard one. Keep in mind that maybe for destinations in the jboss source still there is a piece of non portable code for jms, that is: "queue/" and "topic/" hard coded as string concatenations.
Good luck.
Stefano.