Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

reliability of spring integration esb

How the reliability of message transmission be protected in the spring intergration? For example, the server crashed when messages transforming in the router, or messages were processed failed in splitter and transformer? How the mechanism handles those situation?Is there any references or documents?

Any help will be appreciated!

like image 712
HonestManXin Avatar asked Dec 06 '25 14:12

HonestManXin


1 Answers

Also, if your entry point is a channel adapter or gateway that supports transactions (e.g. JMS, AMQP, JDBC, JPA,..) and you use default channels, the entire flow will take place within the scope of that transaction, as the transaction context is bound to the thread. If you add any buffering channels or a downstream aggregator, then you would want to consider what Gary mentioned so that you are actually completing the initial transaction by handing responsibility to another reliable resource (as opposed to leaving a Message in an in-memory Map and then committing, for example).

Hope that makes sense.

Shameless plug: there's a good overview of transactions within the Spring Integration in Action book, available now through MEAP: http://manning.com/fisher/

Regards, Mark

like image 103
mfisher Avatar answered Dec 08 '25 11:12

mfisher



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!