Re: [Dev] Throttling Policy in a JMS Listener

2018-03-15 Thread Vinod Kavinda
Hi, Yes, the throttle mediator relies on the REMOTE_ADDR property. If you just need to limit the number of messages allowed, this solution will work. The throttle mediator will see like all the messages coming from the same IP. I do not see any issue in that in your use-case. Thanks, Vinod On Thu

Re: [Dev] Throttling Policy in a JMS Listener

2018-03-15 Thread Júnior
Hi, As I could see, the throttle mediator relies on the remote domain and ip to work. So, after adding this property before the throttle mediator, it started working for JMS as well. Is it a bad practice? Is that a recommended approach? Thanks, 2018-03-14 18:36 GMT-03:00 Júnior : > Hi, > > I

[Dev] Throttling Policy in a JMS Listener

2018-03-14 Thread Júnior
Hi, I am trying to use the Throttle mediator in a proxy that is listening to a JMS Queue. I would to limit the number of messages it process in a time interval. And the rejected ones would be stored in a messageStore to be processed later. When consuming the messages from queue, it seems the pol