You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by vik Dhawan <vi...@lexisnexis.com> on 2006/04/04 17:25:40 UTC

MessageQuery interface question

I see a interface called MessageQuery, i dont see any implimentation to this
inteface i would like to know what is its role in the activeMQ.

i would like to understand class XQueryExpression also i may be able the
documentation. 

Thanks!
--
View this message in context: http://www.nabble.com/MessageQuery-interface-question-t1393731.html#a3746529
Sent from the ActiveMQ - Dev forum at Nabble.com.


Re: MessageQuery interface question

Posted by James Strachan <ja...@gmail.com>.
On 4/4/06, vik Dhawan <vi...@lexisnexis.com> wrote:
> I see a interface called MessageQuery, i dont see any implimentation to this
> inteface i would like to know what is its role in the activeMQ.

Its used by the QueryBasedSubscriptionRecoveryPolicy to allow
arbitrary initial messages to be created and dispatched to a consumer
when a subscription starts. e.g. to read out the initial state of a
system from a database or something. Topics are often used to publish
updates to state as the system runs; this hook allows you to send the
initial state to a consumer when it starts up.


> i would like to understand class XQueryExpression also i may be able the
> documentation.

This class isn't fully implemented yet - its idea is to support XQuery
based selectors; so far only XPath selectors are implemented.

--

James
-------
http://radio.weblogs.com/0112098/