Camel-Component组件总结

本文介绍了Camel框架中的关键组件,包括SEDA Component的异步处理特性,不支持跨CamelContext的通信及持久化;VM Component允许跨CamelContext的异步通信,作为Seda的扩展;以及Direct-VM Component,提供在同一JVM中直接、同步调用消费者的能力,用于连接不同或相同CamelContext的路由。
摘要由CSDN通过智能技术生成

了解OSGI领域的都知道,osgi的路由很强大,然而在路由的背后,有几个组件是非常重要的。


S1.SEDA Component


The seda: component provides asynchronous SEDA behavior, so that messages are exchanged on a BlockingQueue and consumers are invoked in a separate thread from the producer.

Note that queues are only visible within a single CamelContext. If you want to communicate across CamelContext instances (for example, communicating between Web applications), see the VM component.

This component does not implement any kind of persistence or recovery, if the VM terminates while messages are yet to be processed. If you need persistence, reliability or distributed SEDA, try using either JMS orActiveMQ.

总结:Seda

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值