Interview Questions

Are foreign destinations handled within foreign JMS messages?

BEA WebLogic Questions and Answers


(Continued from previous question...)

Are foreign destinations handled within foreign JMS messages?

WebLogic Server JMS does not know what to do with foreign destinations that it runs into. This issue has been discussed with Sun and the JMS specification does not clearly define destinations well enough for vendors to interoperate at that level. They agree that it is sufficient not to handle foreign destinations preferably in such a way that sending/receiving still work. For WebLogic Server JMS, if you do a setJMSdestination (you should not because it is only for the provider to set it) with a foreign destination, it gets ignored (set to null). Similarly, if you do a setJMSReplyTo for a foreign destination, WebLogic Server JMS will ignore it (set it to null).

(Continued on next question...)

Other Interview Questions