activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Static network connector with message selector
Date Tue, 05 Mar 2013 15:13:39 GMT
Where did you add it in the NC via JMX?
The network bridge is just a pipe. The consumers determine what will be
demand forwarded. So your consumer should have the selector. You might be
able to add a broker filter that adds that selector to all network
consumers when they're created.


On Tue, Mar 5, 2013 at 3:49 AM, Raccoonwao <gemaspecial@yahoo.com.hk> wrote:

> Hi all,
>
> I am looking for a solution to have limited message between 2
> network-connected brokers (A and B) by message selector.
>
> Only message matching selector, say, "type='car'" should goes from broker
> A to B.  The selector is known in advance.
>
> Turning off conduit is not an options as there are multiple consumers at
> broker B.
>
> Another trial is to manually adding the above message selector at the NC
> via JMX looks very positive, no increase for message count in broker B and
> consumers does NOT received, which is good.
>
> The question is how to assign the selector to all NC without tediously
> added by hand via JMX.
>
> Thanks,
> Hei




-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message