Don't think messenger API supports using filters/selectors.
Might have to ask on their mailing list.

You can definitely do it with the proton apis however since the jms impl
does it :)

http://svn.apache.org/viewvc/qpid/trunk/qpid/java/amqp-1-0-client-jms/src/main/java/org/apache/qpid/amqp_1_0/jms/impl/MessageConsumerImpl.java?view=markup

Python client looks like it does too.


On Mon, Jul 8, 2013 at 1:41 PM, Gordon Sim <g...@redhat.com> wrote:

> On 07/08/2013 06:20 PM, Pablo Rodríguez Rey wrote:
>
>> Tested with JMS names, but still ignores them:
>>
>> $ php recv.php "amqp://
>> 127.0.0.1/xxx2/asd/asd?**transport.transformer=jms&**JMSPriority%3E5<http://127.0.0.1/xxx2/asd/asd?transport.transformer=jms&JMSPriority%3E5>
>> "
>>
>
> Ok, so that will result in the 'xxx2/asd/asd?transport.**
> transformer=jms&JMSPriority%**3E5' being sent as the address filed of the
> source, which will then be passed to 
> ActiveMQDestination.**createDestination().
> I assume you are expecting ActiveMQ to parse that somehow? (I initially
> thought you expected proton messenger to parse it and set the filter in the
> proper AMQP 1.0 field).
>



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

Reply via email to