开发者

Apache Camel - transaction in routes

I have a general question about Apache Camel. I wasn't able to find whether the aggregator is transac开发者_运维技巧ted. If it is transacted, how the transactions are implemented and how fast the aggregation is?


Sending the messages into the aggregator can run in a transaction.

You would need a persistent store with the aggregator to let the outgoing messages act as a transaction. See the documentation about persistence http://camel.apache.org/aggregator2

For example there is a JDBC based and HawtDB (file based) persistent support out of the box. Its pluggable as you can also build your custom.

Camel in Action book chapter 8 and 9 convers this in much more details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜