mirror of https://github.com/apache/nifi.git
NIFI-4128 Added "All" MessageAttributeNames to GetSQS processor ReceiveMessageRequest
Signed-off-by: James Wing <jvwing@gmail.com> This closes #1949.
This commit is contained in:
parent
2b5aaec6d9
commit
c37aed4de2
|
@ -138,6 +138,7 @@ public class GetSQS extends AbstractSQSProcessor {
|
|||
|
||||
final ReceiveMessageRequest request = new ReceiveMessageRequest();
|
||||
request.setAttributeNames(Collections.singleton("All"));
|
||||
request.setMessageAttributeNames(Collections.singleton("All"));
|
||||
request.setMaxNumberOfMessages(context.getProperty(BATCH_SIZE).asInteger());
|
||||
request.setVisibilityTimeout(context.getProperty(VISIBILITY_TIMEOUT).asTimePeriod(TimeUnit.SECONDS).intValue());
|
||||
request.setQueueUrl(queueUrl);
|
||||
|
|
Loading…
Reference in New Issue