Aws integration spring: Extend Visibility Timeout
<p>Is it possible to extend the visibility time out of a message that is in  flight. </p>

<p>See:</p>

<p><a href="http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html" rel="noreferrer">http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/AboutVT.html</a>. </p>

<p>Section: Changing a Message's Visibility Timeout.</p>

<p><a href="http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/sqs/AmazonSQSClient.html#changeMessageVisibility-com.amazonaws.services.sqs.model.ChangeMessageVisibilityRequest-" rel="noreferrer">http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/sqs/AmazonSQSClient.html#changeMessageVisibility-com.amazonaws.services.sqs.model.ChangeMessageVisibilityRequest-</a></p>

<p>In summary I want to be able to extend the first set visibility timeout for a given message that is in flight. </p>

<p>Example if 15secs have passed I then want to extend the timeout by another 20secs. Better example in java docs above.</p>

<p>From my understanding in the links above you can do this on the amazon side.</p>

<p>Below are my current settings;</p>

<pre><code>  SqsMessageDrivenChannelAdapter adapter =
  new SqsMessageDrivenChannelAdapter(queue);
  adapter.setMessageDeletionPolicy(SqsMessageDeletionPolicy.ON_SUCCESS);
  adapter.setMaxNumberOfMessages(1);
  adapter.setSendTimeout(2000);
  adapter.setVisibilityTimeout(200);
  adapter.setWaitTimeOut(20);
</code></pre>

<p>Is it possible to extend this timeout?</p>