...
The queue will be created if they don't already exists.
You can append query options to the URI in the following format, ?options=value&option2=value&...
URI Options
...
Name | Default Value | Context | Description |
---|---|---|---|
amazonSQSClient | | Shared | Reference to a |
|
...
in |
...
the |
...
...
. |
...
accessKey | | Shared | Amazon AWS Access Key |
secretKey | | Shared | Amazon AWS Secret Key |
amazonSQSEndpoint | | Shared | The region with which the AWS-SQS client wants to work with. Only works if Camel creates the AWS-SQS client, i.e., |
...
if |
...
you |
...
explicitly |
...
set |
...
amazonSQSClient, |
...
then |
...
this |
...
setting |
...
will |
...
have |
...
no |
...
effect. |
...
You |
...
would |
...
have |
...
to |
...
set |
...
it |
...
on |
...
the |
...
client |
...
you |
...
create |
...
directly |
...
attributeNames | | Consumer | A list of attributes to set in the |
...
. | |||
defaultVisibilityTimeout | | Shared | The visibility timeout (in seconds) to set in the |
...
. | |||
deleteAfterRead | | Consumer | Delete message from SQS after it has been read |
deleteIfFiltered | | Consumer | Camel 2.12.2,2.13.0 |
...
Whether |
...
or |
...
not |
...
to |
...
send |
...
the |
...
DeleteMessage |
...
to |
...
the |
...
SQS |
...
queue |
...
if |
...
an |
...
exchange |
...
fails |
...
to |
...
get |
...
through |
...
a |
...
filter. |
...
If |
...
'false' |
...
and |
...
exchange |
...
does |
...
not |
...
make |
...
it |
...
through |
...
a |
...
Camel |
...
filter |
...
upstream |
...
in |
...
the |
...
route, |
...
then |
...
don't |
...
send |
...
DeleteMessage. |
...
maxMessagesPerPoll | | Consumer | The maximum number of messages which can be received in one poll to set in the |
...
. | |||
visibilityTimeout | | Shared | The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request to set in the |
...
. |
...
This |
...
only |
...
make |
...
sense |
...
if |
...
its |
...
different |
...
from |
...
|
...
. |
...
It |
...
changes |
...
the |
...
queue |
...
visibility |
...
timeout |
...
attribute |
...
permanently. |
...
messageVisibilityTimeout | | Consumer | Camel 2.8: |
...
The |
...
duration |
...
(in |
...
seconds) |
...
that |
...
the |
...
received |
...
messages |
...
are |
...
hidden |
...
from |
...
subsequent |
...
retrieve |
...
requests |
...
after |
...
being |
...
retrieved |
...
by |
...
a |
...
ReceiveMessage |
...
request |
...
to |
...
set |
...
in |
...
the |
...
|
...
. |
...
It |
...
does |
...
NOT |
...
change |
...
the |
...
queue |
...
visibility |
...
timeout |
...
attribute |
...
permanently. |
...
extendMessageVisibility | | Consumer | Camel 2.10: |
...
If |
...
enabled |
...
then |
...
a |
...
scheduled |
...
background |
...
task |
...
will |
...
keep |
...
extending |
...
the |
...
message |
...
visibility |
...
on |
...
SQS. |
...
This |
...
is |
...
needed |
...
if |
...
it |
...
taks |
...
a |
...
long |
...
time |
...
to |
...
process |
...
the |
...
message. |
...
If |
...
set |
...
to |
...
true |
...
|
...
must |
...
be |
...
set. |
...
See |
...
details |
...
at |
...
...
...
. | |||
maximumMessageSize | | Shared | Camel 2.8: |
...
The |
...
maximumMessageSize |
...
(in |
...
bytes) |
...
an |
...
SQS |
...
message |
...
can |
...
contain |
...
for |
...
this |
...
queue, |
...
to |
...
set |
...
in |
...
the |
...
|
...
. | |||
messageRetentionPeriod | | Shared | Camel 2.8: |
...
The |
...
messageRetentionPeriod |
...
(in |
...
seconds) |
...
a |
...
message |
...
will |
...
be |
...
retained |
...
by |
...
SQS |
...
for |
...
this |
...
queue, |
...
to |
...
set |
...
in |
...
the |
...
|
...
. | |||
policy | | Shared | Camel 2.8: |
...
The |
...
policy |
...
for |
...
this |
...
queue |
...
to |
...
set |
...
in |
...
the |
...
|
...
. | |||
delaySeconds | | Producer | Camel 2.9.3: |
...
Delay |
...
sending |
...
messages |
...
for |
...
a |
...
number |
...
of |
...
seconds. |
...
waitTimeSeconds | | Producer | Camel 2.11: |
...
Duration |
...
in |
...
seconds |
...
(0 |
...
to |
...
20) |
...
that |
...
the |
...
ReceiveMessage |
...
action |
...
call |
...
will |
...
wait |
...
until |
...
a |
...
message |
...
is |
...
in |
...
the |
...
queue |
...
to |
...
include |
...
in |
...
the |
...
response. |
...
receiveMessageWaitTimeSeconds | | Shared | Camel 2.11: |
...
If |
...
you |
...
do |
...
not |
...
specify |
...
WaitTimeSeconds |
...
in |
...
the |
...
request, |
...
the |
...
queue |
...
attribute |
...
ReceiveMessageWaitTimeSeconds |
...
is |
...
used |
...
to |
...
determine |
...
how |
...
long |
...
to |
...
wait. |
...
queueOwnerAWSAccountId | | Shared | Camel 2.12: |
...
Specify |
...
the |
...
queue |
...
owner |
...
aws |
...
account |
...
id |
...
when |
...
you |
...
need |
...
to |
...
connect |
...
the |
...
queue |
...
with |
...
different |
...
account |
...
owner. |
...
region | | Shared | Camel 2.12.3: |
...
Specify |
...
the |
...
queue |
...
region |
...
which |
...
could |
...
be |
...
used |
...
with |
...
|
...
to |
...
build |
...
the |
...
service |
...
URL. |
...
Info | ||
---|---|---|
| ||
You have to provide the amazonSQSClient in the Registry or your accessKey and secretKey to access the Amazon's SQS. |
...
Message headers set by the SQS producer
...
Header | Type | Description |
---|---|---|
| | The MD5 checksum of the Amazon SQS message. |
| | The Amazon SQS message ID. |
| | Since Camel 2.11, the delay seconds that the Amazon SQS message can be see by others. |
...
Message headers set by the SQS consumer
...
Header | Type | Description |
---|---|---|
| | The MD5 checksum of the Amazon SQS message. |
| | The Amazon SQS message ID. |
| | The Amazon SQS message receipt handle. |
| | The Amazon SQS message attributes. |
Advanced AmazonSQS configuration
...