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

Sqs2ConsumerHealthCheck is broken when using injected client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.19.0, 3.20.0, 3.20.1
    • 3.20.2, 3.21.0, 4.0-M1, 4.0.0
    • camel-aws2
    • None
    • Unknown

    Description

      Cased by CAMEL-18466 where a new health check is introduced for the SQS component.

      The component creates it own client, but does so incorrectly as it fails to detect if a client is injected.

      Also, the client is created for every invocation of the health check which is not very efficient, a better solution would be to pass in the SqsClient to the health check itself.

      Attachments

        Issue Links

          Activity

            People

              smox Simon Rasmussen
              smox Simon Rasmussen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: