When I set the parameter waitTimeSeconds for the receiveMessage ElasticMac returns an error
'InvalidParameterValue; see the SQS docs.'
But I have not found any way to configure this parameter,
Only this ReceiveMessageWaitTimeSeconds from createQueue(SDK v2) however, this produces the same error when I call createQueue:
export type QueueAttributeName = "All"|"Policy"|"VisibilityTimeout"|"MaximumMessageSize"|"MessageRetentionPeriod"|"ApproximateNumberOfMessages"|"ApproximateNumberOfMessagesNotVisible"|"CreatedTimestamp"|"LastModifiedTimestamp"|"QueueArn"|"ApproximateNumberOfMessagesDelayed"|"DelaySeconds"|"ReceiveMessageWaitTimeSeconds"|"RedrivePolicy"|"FifoQueue"|"ContentBasedDeduplication"|"KmsMasterKeyId"|"KmsDataKeyReusePeriodSeconds"|"DeduplicationScope"|"FifoThroughputLimit"|"RedriveAllowPolicy"|"SqsManagedSseEnabled"|string;
When I set the parameter
waitTimeSeconds
for thereceiveMessage
ElasticMac returns an errorBut I have not found any way to configure this parameter,
Only this
ReceiveMessageWaitTimeSeconds
fromcreateQueue
(SDK v2) however, this produces the same error when I callcreateQueue
:I'm not clear how to unlock this condition ...
Snipped to reproduce the condition:
Error
If I use
WaitTimeSeconds: 20
(the default value when elasticmq creates the queue), run correctly