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

Using ServicePool in ConsumerCache

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15.0
    • camel-core
    • None
    • Unknown

    Description

      Current ConsumerCache just cache the PollingConsumer in the map, it may cause some trouble if the PollingConsumer is not thread safe.
      Using the ServicePool to cache the PollingConsumer could help us with that.

      To workaround this issue, we cannot call the ConsumerTemplate in multithread mode.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: