qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Messenger API and ActiveMQ selector
Date Mon, 15 Aug 2016 09:21:52 GMT
On 14/08/16 12:10, Chenxiong Qi wrote:
> Hi,
> I'm using proton messenger API to connect ActiveMQ to produce and
> consumer messages. I notice that ActiveMQ supports a cool feature that
> is to select messages by a selector. After going through proton
> documentation of Python binding, I don't find information about how to
> select messages with messenger API, whereas there is
> proton.reactor.Selector, so my questions are
> Can proton.reactor.Selector be used with messenger API?


> And, is there
> anything I missed that messenger API has the ability already?

In theory, you can use the pn_messenger_get_link() function to retrieve 
the pn_link_t for a subscription (after having called subscribe), and 
then set a filter on the source of that link. That function isn't 
explicitly wrapped in python though.

To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org

View raw message