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

Unify MessageProducerResources handling into SjmsProducer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.2
    • 2.14.0
    • camel-sjms
    • None
    • Unknown

    Description

      InOnlyProducer and InOutProducer have similar code for borrowing MessageProducerResources from pool but different behavior for handling errors associated to it. Also InOnlyProducer does not apply the responsetimeout parameter as timeout for borrowing producer from pool. Moving this logic and error handling to SjmsProducer can remove duplicate code and provide same behavior for both classes.

      Attachments

        Activity

          People

            njiang Willem Jiang
            cristiano.nicolai Cristiano Nicolai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: