You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Yohan Liyanage <yo...@gmail.com> on 2008/07/10 15:13:34 UTC
Filtering messages in a Network of Brokers
Hi,
Is there anyway to filter messages in a network of brokers (Store and
Forward) ?
For example, is there anyway to avoid forwarding messages which contains a
specific property, etc to other brokers?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Filtering-messages-in-a-Network-of-Brokers-tp18382666p18382666.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Filtering messages in a Network of Brokers
Posted by Yohan Liyanage <yo...@gmail.com>.
Thanks Joe !
I think 'MessageAuthorizationPolicy' will work for me. :)
Joe Fernandez wrote:
>
> You could implement a MessageAuthorizationPolicy. The policy wold
> allow/disallow messages based on a property.
>
> See bottom of this page http://activemq.apache.org/security.html
>
> Or a filter message pattern via Camel
>
> http://activemq.apache.org/camel/message-filter.html
>
> Joe
> www.ttmsolutions.com
>
>
>
> Yohan Liyanage wrote:
>>
>> Hi,
>>
>> Is there anyway to filter messages in a network of brokers (Store and
>> Forward) ?
>>
>> For example, is there anyway to avoid forwarding messages which contains
>> a specific property, etc to other brokers?
>>
>> Thanks in advance.
>>
>
>
--
View this message in context: http://www.nabble.com/Filtering-messages-in-a-Network-of-Brokers-tp18382666p18394748.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Filtering messages in a Network of Brokers
Posted by Joe Fernandez <jo...@ttmsolutions.com>.
You could implement a MessageAuthorizationPolicy. The policy wold
allow/disallow messages based on a property.
See bottom of this page http://activemq.apache.org/security.html
Or a filter message pattern via Camel
http://activemq.apache.org/camel/message-filter.html
Joe
www.ttmsolutions.com
Yohan Liyanage wrote:
>
> Hi,
>
> Is there anyway to filter messages in a network of brokers (Store and
> Forward) ?
>
> For example, is there anyway to avoid forwarding messages which contains a
> specific property, etc to other brokers?
>
> Thanks in advance.
>
--
View this message in context: http://www.nabble.com/Filtering-messages-in-a-Network-of-Brokers-tp18382666p18384586.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Filtering messages in a Network of Brokers
Posted by Yohan Liyanage <yo...@gmail.com>.
Thanks Rob! But I wanted to filter several messages, not destinations :S.
With wildcards, I can only filter based on destination name is it?
rajdavies wrote:
>
>
> On 10 Jul 2008, at 14:13, Yohan Liyanage wrote:
>
>>
>> Hi,
>>
>> Is there anyway to filter messages in a network of brokers (Store and
>> Forward) ?
>>
>> For example, is there anyway to avoid forwarding messages which
>> contains a
>> specific property, etc to other brokers?
>>
>> Thanks in advance.
>> --
>> View this message in context:
>> http://www.nabble.com/Filtering-messages-in-a-Network-of-Brokers-tp18382666p18382666.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
> Currently you can only filter on destinations - but you can use
> wildcards on the destination names for the filtering - see
> http://activemq.apache.org/networks-of-brokers.html
>
> cheers,
>
> Rob
>
> Rob Davies
> 'Go further faster with Apache Camel!'
> http://rajdavies.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Filtering-messages-in-a-Network-of-Brokers-tp18382666p18394773.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Filtering messages in a Network of Brokers
Posted by Rob Davies <ra...@gmail.com>.
On 10 Jul 2008, at 14:13, Yohan Liyanage wrote:
>
> Hi,
>
> Is there anyway to filter messages in a network of brokers (Store and
> Forward) ?
>
> For example, is there anyway to avoid forwarding messages which
> contains a
> specific property, etc to other brokers?
>
> Thanks in advance.
> --
> View this message in context: http://www.nabble.com/Filtering-messages-in-a-Network-of-Brokers-tp18382666p18382666.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Currently you can only filter on destinations - but you can use
wildcards on the destination names for the filtering - see http://activemq.apache.org/networks-of-brokers.html
cheers,
Rob
Rob Davies
'Go further faster with Apache Camel!'
http://rajdavies.blogspot.com/