Camel SNS - How to use async client without blocking?

810 Views Asked by At

In Camel when sending to an SNS endpoint using an AmazonSNSAsync client, the publishing behavior doesn't appear to change because the underlying SnsPublisher still invokes the blocking synchronous getSNSClient().publish(request) method.

Is it possible to publish asynchronously so that the caller isn't forced to wait for the response?

The synchronous flag mentioned here might be relevant but after looking through the source code I don't see it being used.

0

There are 0 best solutions below