Thanks Dejan. How do I send the 'selector' parameter via the amq.js addListener() function? Looks like support for 'selector' would need to be added to addListener() and sendJmsMessage() somehow. (Maybe an optional 4th parameter?)

http://fisheye6.atlassian.com/browse/activemq/trunk/activemq-web-demo/src/main/webapp/js/amq.js?r=HEAD

If you can think of a way you'd prefer to have this implemented, I'd be happy to code up a patch.

alex

On Aug 4, 2010, at 2:25 AM, Dejan Bosanac wrote:

Hi Alex,

yes MessageListenerServlet supports selectors in the 'selector'
request parameter.

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Tue, Aug 3, 2010 at 10:13 PM, Alex Dean <ad...@meteostar.com> wrote:

On Jul 26, 2010, at 11:25 AM, Alex Dean wrote:

In 5.4, will ajax clients be able to specify per-subscription filtering rules when subscribing to topics? I don't see any obvious support for this in the 5.4-SNAPSHOT amq.js code, but maybe I'm missing it. Would be very helpful to have, and I'd be happy to work on the JavaScript side of things.
 Is there support for filtering in the MessageListenerServlet?

Is anyone able to answer this question?

thanks,
alex


Reply via email to