Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.8.0
-
None
-
Unknown
Description
Please provide a means of receiving multiple JMS messages as a batch in a single transaction.
Our use case is to exchange JMS messages in order, quickly, with at least once delivery guarantee, but over a link with 10 to 15 ms latency. Processing multiple JMS messages in a single transaction is the way to meet this requirement as it greatly reduces the chatter over the wire:
- For sending, we use the normal JMS component with a loop (using <split/>) inside the transaction.
- For receiving (in 3.4.5) we use sjms-batch with an aggregation strategy. Example
- from sjms-batch:myqueue?aggregationStrategy=#groupedBodyAggregationStrategy&completionSize=300&asyncStartListener=true&keepAliveDelay=5000
The sjms-batch component was removed as part of the overhaul of sjms, but there appears to be no alternative to the functionality it provided.
Attachments
Issue Links
- is related to
-
CAMEL-16064 camel-kafka - Add batching consumer
- Resolved
- relates to
-
CAMEL-16751 camel-core - API and SPI for Transactional Batch Consumer
- Open