camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JakubKahovec <jakub.kaho...@gmail.com>
Subject Re: missing region property in aws-sns component
Date Sun, 14 Dec 2014 10:05:16 GMT
Hello,

I'm having a similar issue, using Camel-2.14.1-SNAPSHOT and aws-sns.
TopicArn is being created for the default region us-east instead of eu-west
although being specified through the amazonSNSEndpoint parameter.

Here is my SNS endpoint:

<to
uri="aws-sns://ipex-b2b?amazonSNSEndpoint=https://sns.eu-west-1.amazonaws.com&amp;subject=event&amp;accessKey=XXXX&amp;secretKey=XXXX"/>
  

I looked at the Camel-SNS code and I suspect that the problem lies in
SnsEndpoint.java, method doStart. 
At the moment the SNS client is creating a topic it doesn't have the
endpoint from configuration set yet (it's being set late, at the end of the
method) so it creates the topic in the default region rather than in the one
specified in the endpoint.  

Jakub
          






--
View this message in context: http://camel.465427.n5.nabble.com/missing-region-property-in-aws-sns-component-tp4303687p5760674.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message