Class UnbufferedSQSClientFactory

  • All Implemented Interfaces:
    SQSClientFactory
    Direct Known Subclasses:
    BufferedSQSClientFactory

    public class UnbufferedSQSClientFactory
    extends java.lang.Object
    implements SQSClientFactory
    Unbuffered SQS Client Factory.
    Since:
    3.0.3

    In the adapter configuration file this class is aliased as unbuffered-sqs-client-factory which is the preferred alternative to the fully qualified classname when building your configuration.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.amazonaws.services.sqs.AmazonSQSAsync createClient​(com.amazonaws.auth.AWSCredentialsProvider creds, com.amazonaws.ClientConfiguration conf, com.adaptris.aws.EndpointBuilder endpoint)
      Create a new Amazon SQS client.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnbufferedSQSClientFactory

        public UnbufferedSQSClientFactory()
    • Method Detail

      • createClient

        public com.amazonaws.services.sqs.AmazonSQSAsync createClient​(com.amazonaws.auth.AWSCredentialsProvider creds,
                                                                      com.amazonaws.ClientConfiguration conf,
                                                                      com.adaptris.aws.EndpointBuilder endpoint)
        Description copied from interface: SQSClientFactory
        Create a new Amazon SQS client.
        Specified by:
        createClient in interface SQSClientFactory
        Parameters:
        creds - The credentials to use. If null the default credentials mechanism for the Amazon AWS SDK will be used.
        conf - the ClientConfiguration to use.
        endpoint - configures the endpoint / region that the client will use.
        Returns:
        a AmazonSQSAsync instance.