SPeL Expressions in SqsListener annotation #1064
Unanswered
adispennette
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hey @adispennette,
Why are you escaping the $ with" $"? Can you try without the \ please? Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@adispennette, as you can probably tell by now I'm not too familiar with Kotlin. Would you be able to setup a minimum project that can reproduce the issue? Thanks. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recently started using the SqsListener annotation and I am pretty positive I have a SPeL expression working but now it does not seem to be working as I expect. I am doing the following and I am pretty sure it should work but it is failing any type of property reference that I put in the annotation. It only seems to be working if I put the hard coded value for the queue name in.
Is there something I am missing?
This is not working either:
@SqsListener("\${sqs.s3.event.queue.names}")
Beta Was this translation helpful? Give feedback.
All reactions