You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ltomuno <lt...@163.com> on 2011/06/01 11:20:31 UTC

how to realize quality of service in camel

when the system is busy, to ensure the core system is available

Re: how to realize quality of service in camel

Posted by Ashwin Karpe <ak...@fusesource.com>.
Hi,

You could set up a heartbeat route and send periodic trace messages
(scheduled via camel-quartz) that can be sent to a listener via the main
route or a secondary route (for context uptime verification), thereby
ensuring that your context and/or routes are up.

Of course, JMX does much of this as well. But if you do not set up a JMX
listener, that is no good...

Not sure how/what your requirements are? In the abscence of this, the
heartbeat model is the simplest/safest to go by.

Hope this helps.

Cheers,

Ashwin...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
CamelOne 2011: http://fusesource.com/camel2011 
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/how-to-realize-quality-of-service-in-camel-tp4444653p4445847.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to realize quality of service in camel

Posted by Hadrian Zbarcea <hz...@gmail.com>.
In a few ways, depending on your load profile. A couple of ideas are to use the throttler to slow traffic down, another idea is to load balance across multiple endpoints. There are others. Obviously you have to plan for it.

Hadrian


On Jun 1, 2011, at 5:20 AM, ltomuno wrote:

> when the system is busy, to ensure the core system is available