On Sun, Dec 14, 2014 at 11:05 AM, JakubKahovec <jakub.kaho...@gmail.com> wrote:
> 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.
>

Ah thanks for spotting this. You are welcome to log a JIRA ticket about this bug
http://camel.apache.org/support.html

And we love contributions, so you are welcome to work on a fix.
http://camel.apache.org/contributing.html


> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to