RE: Simple JMS Batch Component

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RE: Simple JMS Batch Component

Shenavai, Manuel
Hi,

can someone comment on the below question?

Thanks in advance &
Best regards,
Manuel

From: Shenavai, Manuel
Sent: Mittwoch, 20. Mai 2020 13:21
To: [hidden email]
Subject: Simple JMS Batch Component

Hi everyone,

I started looking into the Simple JMS Batching component<https://camel.apache.org/components/latest/sjms-batch-component.html>. In our use-case we like to fetch several messages from JMS and aggregate them into a single message which is then processed. The Camel Simple JMS Batch<https://camel.apache.org/components/latest/sjms-batch-component.html> component seems to do just that. However I found Camel Simple JMS2<https://camel.apache.org/components/latest/sjms2-component.html> which states that it also supports batch consumer and producer. From the docs I understood that with Simple JMS2 consumer it's possible to process multiple messages in a single transaction. But I could not find any information of batching messages with an aggregation. So I assume for my use-case Simple JMS Batch is the one to use. Is this understanding correct?

Thanks in advance &
Best regards,
Manuel