I have the following configuration for the global error channel:
<si:queue capacity="1" />
<ref bean="GlobalErrChnlMsgInterceptor" />
When a message fails to deserialize(due to changes in class/any other problem) I get an ErrorMessage in post send of the interceptor configured. The ErrorMessage carries a throwable(SerializationFailedException) which is not an instance of MessagingException.
Hence I am not able to identify the message which failed.
Can anyone advise?