Re: Filter with the subject

2022-10-21 Thread Domenico Francesco Bruscino
Hi Daniel, what protocol are you using to send messages? Where are you setting the subject for your messages: in the body or in the properties? Regards, Domenico On Fri, 21 Oct 2022 at 11:15, Gavrila, Daniel wrote: > Hello , > > I have a divert that I would like to forward to a LVQ just if

Fair queuing with Artemis

2022-10-21 Thread Stephen Baker
Are there any thoughts on how to achieve fair queuing with Artemis MQ. We have a limited resource (the consumer) and many of our customers are producing messages for it. We do not want a customer producing a lot of messages from blocking a customer that only sends a few (basically the

Filter with the subject

2022-10-21 Thread Gavrila, Daniel
Hello , I have a divert that I would like to forward to a LVQ just if the message has the subject set to the string "DesignMessage". In the documentation there are some Identifiers like AMQPriority , AMQExpiration etc. and tried my luck with AMQSubject but is not working. No messages are

Re: Fair queuing with Artemis

2022-10-21 Thread Clebert Suconic
You can have multiple consumers on a queue. That would round robin. You could disable fetching so you keep messages on the client side. I’m not sure also If you need a rate limiter or something like that also ? On Fri, Oct 21, 2022 at 10:35 AM Stephen Baker < stephen.ba...@rmssoftwareinc.com>

Re: Filter with the subject

2022-10-21 Thread Domenico Francesco Bruscino
Hi Daniel, the AMQP subject is mapped with JMSType, see testReceiveWithJMSSelectorFilterOnJMSType[1], try JMSType='DesignMessage'. [1]

Re: Filter with the subject

2022-10-21 Thread Gavrila, Daniel
Hi Domenico, I‘m porting an application from qpid-cpp broker to Artemis, it is just AMQP . On the client side I‘m using qpid proton C++ library and the code is looking like this: proton::message m; m.subject(„DesignMessage“); The „subject“ is the standard AMQP property . On the qpid broker

Re: Filter with the subject

2022-10-21 Thread Gavrila, Daniel
thanks! it is working now!  Get Outlook for iOS From: Domenico Francesco Bruscino Sent: Friday, October 21, 2022 7:23:55 PM To: users@activemq.apache.org Subject: Re: Filter with the subject Hi Daniel, the AMQP subject is mapped with