Answers

Question and Answer:

  Home  BEA Weblogic

⟩ What should an XPATH selector look like?

The following is an example of an XPATH selector. Pay careful attention to the use of double and single quotes.

String selector =

"JMS_BEA_SELECT('xpath', '/recipient/transport/text()') =

'email'";

tsubscriber = tsession.createSubscriber(topic, selector, false);

JMS_BEA_SELECT is a built-in function in WebLogic Server JMS SQL syntax. You put it in your selector string when you create a consumer. Note the use of single quotes around xpath, the XML tab, and the string value.

 154 views

More Questions for you: