Friday, March 13, 2009

Can two different JMS services talk to each other For instance, if A and B

Question :Can two different JMS services talk to each other? For instance, if A and B
are two different JMS providers, can Provider A send messages directly to
Provider B? If not, then can a subscriber to Provider A act as a publisher to
Provider B? (JMS)

Answer :The answers are no to the first question and yes to the second. The JMS
specification does not require that one JMS provider be able to send
messages directly to another provider. However, the specification does
require that a JMS client must be able to accept a message created by a
different JMS provider, so a message received by a subscriber to Provider
A can then be published to Provider B. One caveat is that the publisher to
Provider B is not required to handle a JMSReplyTo header that refers to a
destination that is specific to Provider A.

No comments: