Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Required

Default

Description

accessKey

yes

-

AWS access key

secretKey

yes

-

AWS secret key

amazonSNSClient

yes

-

Amazon AWS SNS Client

amazonSQSClient

yes

-

Amazon AWS SQS Client

deleteTopicOnStop

-

false

Deletes the topic when the component stops

Info
titleRequired SNS component options

You have to provide the amazonSNSClient and amazonSQSClient (consumer only) in the Registry or your accessKey and secretKey to access the Amazon's SNS.

Consumer Only Properties

Property

Required

Default

Description

queueName

-

-

Name of the queue to use for the callback

queueArn

-

-

SQS ARN to use for the callback

idempotent

-

false

If true, consumer will avoid processing messages that it has already processed

delay

-

500

Frequency of polling on the queue to check for new messages

deleteQueueOnStop

-

false

Deletes the queue when the component stops

verify

-

false

Verifies each of the messages using the signature in the message. Invalid messages are deleted


Producer Only Properties

Property

Required

Default

Description

subject

-

-

default subject to use for the message being sent if not overridden in the camel message header with "SNS:Subject"

...

Topic

Subscription Endpoint

Test Case

topic name

SQS name

SubscribeByTopicNameAndQueueNameTest.java

topic name

SQS ARN

SubscribeByTopicNameAndQueueArnTest.java

topic ARN

SQS name

SubscribeByTopicArnAndQueueNameTest.java

topic ARN

SQS ARN

SubscribeByTopicArnAndQueueArnTest.java

...

titleRequired SNS component options

...


Topic Permissions

If the topic is referenced by its name then the caller is assumed to be the owner of the topic. The create topic API call is used to create the topic by name or return the topic if it already exists.

...