Class MQ2ClientOptimizedImpl

java.lang.Object
org.apache.camel.component.aws2.mq.client.impl.MQ2ClientOptimizedImpl
All Implemented Interfaces:
MQ2InternalClient

public class MQ2ClientOptimizedImpl extends Object implements MQ2InternalClient
Manage an AWS MQ client for all users to use (enabling temporary creds). This implementation is for remote instances to manage the credentials on their own (eliminating credential rotations)
  • Constructor Details

    • MQ2ClientOptimizedImpl

      public MQ2ClientOptimizedImpl(MQ2Configuration configuration)
      Constructor that uses the config file.
  • Method Details

    • getMqClient

      public software.amazon.awssdk.services.mq.MqClient getMqClient()
      Getting the MQ aws client that is used.
      Specified by:
      getMqClient in interface MQ2InternalClient
      Returns:
      MQ Client.