question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subscriptions with SQS protocol don't work in accordance with AWS API spec.

See original GitHub issue

When making subscription from SNS to SQS (protocol=‘sqs’, endpoint=queue ARN), the error occurs:

ERROR a.c.i.Registry$RegistryLogStrategy - Actor[akka://sns/user/$a#1061847866] failed to activate
org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: arn://aws:sqs:elasticmq:000000000000:testqueue due to: No component found with scheme: arn
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:594) ~[sns-0.1.3.jar:0.1.3]
	at akka.camel.internal.ProducerRegistrar$$anonfun$receive$3.applyOrElse(CamelSupervisor.scala:164) ~[sns-0.1.3.jar:0.1.3]
...

Also it’s not clear how one can set SQS endpoint URL - e.g. to localhost when using elasticMQ.

Can you elaborate on elasticMQ integration?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
hzshlomicommented, Feb 11, 2019

FYI - I gave it a shot here: https://github.com/s12v/sns/pull/54

1reaction
mvmncommented, Mar 20, 2017

Unfortunately, I’m only good with Java, but never did any Scala. But I’ll try things out and if I’ll manage to cope with Scala - will do a pull request.

And thank you for your time and effort developing this thing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon SQS FAQs | Message Queuing Service
Get answers to Amazon SQS FAQs on topics like FIFO queues, message identifiers, long and short polling, and security.
Read more >
AmazonSQSClient (AWS SDK for Java - 1.12.367)
Constructs a new client to invoke service methods on Amazon SQS using the specified AWS account credentials and client configuration options. All service...
Read more >
aws-cdk/aws-sns-subscriptions module
Subscriptions to Amazon SQS and AWS Lambda can be added on topics across regions. Create an Amazon SNS Topic to add subscriptions. const...
Read more >
Working with Amazon SQS APIs
Learn about making Amazon SQS Query API requests and how to use batch actions. ... For command-line tool information, see the Amazon SQS...
Read more >
Signing AWS API requests - AWS General Reference
You must only sign AWS API requests as described in this documentation if you do not use an AWS SDK or AWS command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found