Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Christian Posta
Yep, misspoke. It was the qpid jms stuff i linked too :) On Mon, Jul 8, 2013 at 2:03 PM, Gordon Sim wrote: > On 07/08/2013 06:52 PM, Christian Posta wrote: > >> Don't think messenger API supports using filters/selectors. >> > > It does not (neither directly through the API, nor through any spe

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Gordon Sim
On 07/08/2013 06:52 PM, Christian Posta wrote: Don't think messenger API supports using filters/selectors. It does not (neither directly through the API, nor through any special syntax in the addresses). Is it possible to express a selector in the string passed to ActiveMQDestination.create

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Christian Posta
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

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Gordon Sim
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" Ok, so that will result in the 'xxx2/asd/asd?transport.transformer=jms&JMSPriority%3E5' being sent as th

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Pablo Rodríguez Rey
Producer: - include("proton.php"); $mess = new Messenger(); $mess->start(); $msg = new Message(); $msg->address="amqp://127.0.0.1/xxx2/asd/asd"; $msg->body="Test"; for ($i=1;$i<=9;$i++) { $msg->priority=(int)$i; $msg->subject="PRIORITY(".$i.")!"; $mess->put($msg); $m

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Pablo Rodríguez Rey
Tested with JMS names, but still ignores them: $ php recv.php "amqp:// 127.0.0.1/xxx2/asd/asd?transport.transformer=jms&JMSPriority%3E5" On Mon, Jul 8, 2013 at 6:59 PM, Gordon Sim wrote: > On 07/08/2013 05:20 PM, Pablo Rodríguez Rey wrote: > >> On Mon, Jul 8, 2013 at 6:01 PM, Gordon Sim wrote

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Christian Posta
Pablo, You should be able to specify jms-like selectors. It's not going to work by specifying it on the transport connector. You would specify it in a 'jms-selector' header when your consumer connects up. Can you show the code your consumer uses? On Mon, Jul 8, 2013 at 12:20 PM, Pablo Rodríguez

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Gordon Sim
On 07/08/2013 05:20 PM, Pablo Rodríguez Rey wrote: On Mon, Jul 8, 2013 at 6:01 PM, Gordon Sim wrote: On 07/05/2013 03:30 PM, Pablo Rodríguez Rey wrote: I can send and receive messages using AMQP URLs: amqp://127.0.0.1/route But I dont know how to set the paramers to active the selector/filte

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Pablo Rodríguez Rey
I reply you between lines. On Mon, Jul 8, 2013 at 6:01 PM, Gordon Sim wrote: > On 07/05/2013 03:30 PM, Pablo Rodríguez Rey wrote: > >> Also, I've a question about mixing AMQP 1.0 Filters/Selectors. I don't >> know >> how to make a selector for filtering the Priority of a message. I have a >> clu

Re: Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-08 Thread Gordon Sim
On 07/05/2013 03:30 PM, Pablo Rodríguez Rey wrote: Also, I've a question about mixing AMQP 1.0 Filters/Selectors. I don't know how to make a selector for filtering the Priority of a message. I have a cluster of 6 machines with 3 workers each. 2 are low-priority workers and can do any video transc

Starting with AMQ+AMQP 1.0+QPID Proton

2013-07-05 Thread Pablo Rodríguez Rey
Hello, I'm Pablo, from the IT of the University of Murcia. I'm new to the Message Queue Services and I've registered here to learn more about ActiveMQ day-to-day activity. Also, I've a question about mixing AMQP 1.0 Filters/Selectors. I don't know how to make a selector for filtering the Priority