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
ListenerExecutionFailedException.getFailedMessage() is always null #535
Comments
Yes; it's a bug; thanks for reporting; we will open a JIRA issue. The older POJO adapter populates it, but not the |
JIRA: https://jira.spring.io/browse/AMQP-692 Fixes spring-projectsGH-535 (spring-projects#535) The `ListenerExecutionFailedException` does not make sense without a `failedMessage`. So, fix `MessagingMessageListenerAdapter` to use another `ListenerExecutionFailedException` ctor with the `amqpMessage` param as a `failedMessage` arg **Cherry-pick to 1.6.x & 1.7.x** Note: a `@Deprecated` ctor should be removed for `master`
JIRA: https://jira.spring.io/browse/AMQP-692 Fixes GH-535 (#535) The `ListenerExecutionFailedException` does not make sense without a `failedMessage`. So, fix `MessagingMessageListenerAdapter` to use another `ListenerExecutionFailedException` ctor with the `amqpMessage` param as a `failedMessage` arg **Cherry-pick to 1.6.x & 1.7.x** Note: a `@Deprecated` ctor should be removed for `master`
JIRA: https://jira.spring.io/browse/AMQP-692 Fixes GH-535 (#535) The `ListenerExecutionFailedException` does not make sense without a `failedMessage`. So, fix `MessagingMessageListenerAdapter` to use another `ListenerExecutionFailedException` ctor with the `amqpMessage` param as a `failedMessage` arg **Cherry-pick to 1.6.x & 1.7.x** Note: a `@Deprecated` ctor should be removed for `master`
Is there a release plan for 1.6.7? |
It's not currently scheduled, but we can release it at any time if you need this fix urgently. |
The 1.7 GA is scheduled for Thursday next week; my preference would be to release 1.6.7 at the same time, if that would work for you. |
Yes, the 19th should be fine. |
It is my understanding that
ErrorHandler
andFatalExceptionStrategy
are supposed to have access to theMessage
via theListenerExecutionFailedException
.However, nothing ever appears to fill it in.
I would expect
MessagingMessageListenerAdapter.invokeHandler
to be passing it in the exception constructors.The text was updated successfully, but these errors were encountered: