activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: message filtering via ajax in 5.4?
Date Thu, 05 Aug 2010 13:41:26 GMT
Hi Alex,

I think the 4th optional parameter would work just fine. Can you raise
a Jira and attach patch there when you have it ready. Thanks!

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 Wed, Aug 4, 2010 at 8:13 PM, Alex Dean <adean@meteostar.com> wrote:
> 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 <adean@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
>>>
>
>

Mime
View raw message