Concurrent processing of topic messages with Apache.NMS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Concurrent processing of topic messages with Apache.NMS

koosala
Is it possible to process messages concurrently from a topic (multicast
queue)? This will help scale out better, for e.g. if the multicast address
had 1000 messages to process, and if there is a way to specify the consumer
can process 50 messages in parallel, the consumer application can make use
of multiple threads to process requests in parallel and clear the queue
faster. This would be similar to how REST service end points can handle
multiple requests simultaneously.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Concurrent processing of topic messages with Apache.NMS

jbertram
Are you asking in the context of ActiveMQ 5.x or Artemis?


Justin

On Mon, Dec 10, 2018 at 12:52 AM koosala <[hidden email]> wrote:

> Is it possible to process messages concurrently from a topic (multicast
> queue)? This will help scale out better, for e.g. if the multicast address
> had 1000 messages to process, and if there is a way to specify the consumer
> can process 50 messages in parallel, the consumer application can make use
> of multiple threads to process requests in parallel and clear the queue
> faster. This would be similar to how REST service end points can handle
> multiple requests simultaneously.
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>