Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16039

Reinstate Batch JMS Processing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.8.0
    • Future
    • camel-sjms
    • 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

          Activity

            People

              Unassigned Unassigned
              bradhgbst Brad Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: