Prev Next

Spring / Spring Integration

How does Spring Integration handle error/exceptions in asynchronous communication?

In asynchronous communication, Spring Integration handles exceptions by publishing them to message channels. If an exception is raised, it will not reach the application.

Error channel handles this by wrapping the exception thrown into a MessagingException, and becomes the payload of a new message.

More Related questions...

Show more question and Answers...


Comments & Discussions