Interview Questions

How do I use a less than or greater than on a message selector in ejb-jar.xml?

BEA WebLogic Questions and Answers


(Continued from previous question...)

How do I use a less than or greater than on a message selector in ejb-jar.xml?

Enclose the selector in a CDATA section. That will prevent the XML parser from thinking that less than or greater than is a tag.

<jms-message-selector>
<![CDATA[ JMSXAppID <> 'user' ]]>
</jms-message-selector>

(Continued on next question...)

Other Interview Questions