Hello,

I am looking for a way how to consume messages in Batches from a JMS Broker. 
Messages will be processed and sent batched in a single request to a Kafka 
topic.

Before Camel 3.7, it was possible to implement such a behaviour using the 
sjms-batch component. However this component was discontinued.

Reasons for using batching consumers are mainly:

- Process a high throughput without needing to create too many JMS Concurrent 
consumers ( current value: maxConcurrentConsumers=20)
- Achieve a high number records per Kafka request as the latency to the Kafka 
cluster is quite high (Number of records per request was around 75 when using 
the sjms-batch component)

Two questions:

1- Are there are any news whether the possibility to consume message in Batches 
from a JMS Broker will be reinstated in Camel 4?

2- Do you guys have any proposals how the desired behavior can be otherwise 
achieved?

Regards
Farouk

Reply via email to