You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Simon Rasmussen (Jira)" <ji...@apache.org> on 2023/01/13 10:13:00 UTC

[jira] [Created] (CAMEL-18912) Sqs2ConsumerHealthCheck is broken when using injected client

Simon Rasmussen created CAMEL-18912:
---------------------------------------

             Summary: Sqs2ConsumerHealthCheck is broken when using injected client
                 Key: CAMEL-18912
                 URL: https://issues.apache.org/jira/browse/CAMEL-18912
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
    Affects Versions: 3.20.1, 3.20.0, 3.19.0
            Reporter: Simon Rasmussen


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)