Carl Trieloff wrote:
ActiveMQ does SQL 92 & XPath
http://activemq.apache.org/selectors.html

Here's a SQL 92 example from above:

JMSType = 'car' AND color = 'blue' AND weight > 2500


In XQuery, you have to declare your external variables, so this would come out:

declare external variable $JMSType;
declare external variable $color;
declare external variable $weight;

$JMSType = 'car' and $color = 'blue' and $weight > 2500

Hope this helps,

Jonathan


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to