You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to change the value of the WAIT_TIME_SECONDS in SQSMessageConsumerPrefetch to less than 10 seconds.Currently it is 20s.
I am using following code to create the SQS listener ,
SQSConnectionFactory connectionFactory = new SQSConnectionFactory(
new ProviderConfiguration(),
AmazonSQSClientBuilder.standard()
.withCredentials( new InstanceProfileCredentialsProvider(false))
);
@Bean
public DefaultJmsListenerContainerFactory jmsListenerContainerFactory() {
DefaultJmsListenerContainerFactory factory =
new DefaultJmsListenerContainerFactory();
factory.setConnectionFactory(this.connectionFactory);
factory.setDestinationResolver(new DynamicDestinationResolver());
factory.setConcurrency("3-10");
return factory;
}
Thank you
Sid
The text was updated successfully, but these errors were encountered:
Hi All,
I need to change the value of the WAIT_TIME_SECONDS in SQSMessageConsumerPrefetch to less than 10 seconds.Currently it is 20s.
I am using following code to create the SQS listener ,
SQSConnectionFactory connectionFactory = new SQSConnectionFactory(
new ProviderConfiguration(),
AmazonSQSClientBuilder.standard()
.withCredentials( new InstanceProfileCredentialsProvider(false))
Thank you
Sid
The text was updated successfully, but these errors were encountered: