Class SqsAutoConfiguration

java.lang.Object
de.otto.synapse.configuration.sqs.SqsAutoConfiguration

@Configuration @Import({de.otto.synapse.configuration.aws.SynapseAwsAuthConfiguration.class,de.otto.synapse.configuration.SynapseAutoConfiguration.class}) @EnableConfigurationProperties(de.otto.synapse.configuration.aws.AwsProperties.class) public class SqsAutoConfiguration extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqsAutoConfiguration(de.otto.synapse.configuration.aws.AwsProperties awsProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory
    messageQueueReceiverEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry, software.amazon.awssdk.services.sqs.SqsAsyncClient sqsAsyncClient, org.springframework.context.ApplicationEventPublisher eventPublisher)
     
    software.amazon.awssdk.services.sqs.SqsAsyncClient
    sqsAsyncClient(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, software.amazon.awssdk.core.retry.RetryPolicy sqsRetryPolicy)
     
    de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory
    sqsMessageQueueSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry, software.amazon.awssdk.services.sqs.SqsAsyncClient sqsAsyncClient, String messageSenderName)
     
    software.amazon.awssdk.core.retry.RetryPolicy
     

    Methods inherited from class java.lang.Object

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

    • SqsAutoConfiguration

      @Autowired public SqsAutoConfiguration(de.otto.synapse.configuration.aws.AwsProperties awsProperties)
  • Method Details

    • sqsAsyncClient

      @Bean @ConditionalOnMissingBean(software.amazon.awssdk.services.sqs.SqsAsyncClient.class) public software.amazon.awssdk.services.sqs.SqsAsyncClient sqsAsyncClient(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, software.amazon.awssdk.core.retry.RetryPolicy sqsRetryPolicy)
    • sqsRetryPolicy

      @Bean @ConditionalOnMissingBean(name="sqsRetryPolicy", value=software.amazon.awssdk.core.retry.RetryPolicy.class) public software.amazon.awssdk.core.retry.RetryPolicy sqsRetryPolicy()
    • sqsMessageQueueSenderEndpointFactory

      @Bean @ConditionalOnMissingBean(name="sqsMessageQueueSenderEndpointFactory") public de.otto.synapse.endpoint.sender.MessageSenderEndpointFactory sqsMessageQueueSenderEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry, software.amazon.awssdk.services.sqs.SqsAsyncClient sqsAsyncClient, @Value("${spring.application.name:Synapse Service}") String messageSenderName)
    • messageQueueReceiverEndpointFactory

      @Bean @ConditionalOnMissingBean(name="messageQueueReceiverEndpointFactory") public de.otto.synapse.endpoint.receiver.MessageQueueReceiverEndpointFactory messageQueueReceiverEndpointFactory(de.otto.synapse.endpoint.MessageInterceptorRegistry registry, software.amazon.awssdk.services.sqs.SqsAsyncClient sqsAsyncClient, org.springframework.context.ApplicationEventPublisher eventPublisher)