Using @SendTo annotation with Spring Cloud AWS 3.1.0 SQS Listener #1047
-
Hello I'm currently updating dependencies on an application which includes a move to version 3.1.0 of Spring Cloud AWS. Older versions of Spring Cloud AWS supported spring-messaging's
We have noticed after updating that the As a workaround I can inject an SqsTemplate into the class and rewrite the method as:
My question is "Is there a better workaround or solution?" (such as an equivalent annotation which is valid with the newer version). I can't find any mention in the documentation of the fact that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You're right in that in the rewrite of the solution this feature hasn't been prioritized. Seems like you have a pretty effective workaround, but feel free to open an issue suggesting You can also open a PR for that if you'd like. Thanks. |
Beta Was this translation helpful? Give feedback.
Hi @elsevierstevensn.
You're right in that in the rewrite of the solution this feature hasn't been prioritized. Seems like you have a pretty effective workaround, but feel free to open an issue suggesting
@SendTo
implementation.You can also open a PR for that if you'd like.
Thanks.