-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Integration - Can not store SQS message in Redis #3625
Comments
That's strange: what is the point to read message from SQS if you are going to store it into Redis? Anyway it looks like a I don't treat as a bug since it is already not a The
Does tell us that provided serializer config is in use. Therefore it us out of my knowledge why |
I probably miss something from your explanation.
With that commented out line I get this error which looks exactly what you show:
If I uncoment that line, it is fully different and passing:
So, it does work as expected, although we see that Would you mind, please, revising your solution to figure out that we are really on the same page? |
Closed as |
In what version(s) of Spring Integration are you seeing this issue?
springBootVersion=2.5.3
springCloudVersion=2020.0.3
springCloudAWSVersion=2.2.6.RELEASE
springSessionCoreVersion=2.5.1
springIntegrationVersion=5.2.2
Describe the bug
I'm not sure if this is a bug for the Spring Cloud team or the Spring Integration team but here goes...
I'm reading off of an SQS queue and as soon as I get a message I send it to a Spring Integration Channel which is backed by a Redis Channel Message Store. Ever since upgrading to Spring 5.2.2 I'm getting an error.
It seems like the problem is the Message Header serializer.
This is the config I've tried:
which only seems to affect the value serializer, but not the message header serializer. Is there a way to disable the FAIL_ON_EMPTY_BEANS property in the MessageHeadersJacksonSerializer's object mapper?
The text was updated successfully, but these errors were encountered: