Basically alerts are a good idea. I would make it a little more general though. Camel already has an event mechanism. We could extend this to the cases you specified. I would decouple the sending of external notifications from the events. The external notifications could
be sent by camel routes that start with an event listener.

Christian


Am 19.02.2012 18:34, schrieb michal.warecki:
Hello All!

Looking for an appropriate subject for the Google Summer of Code, I started
to think about the functionality of alerts. I think this functionality can
help Camel meet some of the requirements of mission-critical systems.

Alerts are kind of events which may indicate threat to the proper
functioning of the integration platform such as:
- specified thread pool reaches a specified threshold ratio,
- low memory (i.e. 70% Perm Gen is used)
- specified URL location is invalid (i.e. returns specified code),
- specified JMS attribute has specifies value (it really can be a point to
custom alert guard),
- specified exception type occurs (i.e. IOException may be caused by lack of
disk space),
- route did not finish its execution within specified period of time,
- some specified expression based on headers values.

Alerts should send predefined notifications (configured by standard Camel
components like email or SNMP). Additionally, it should be possible to set
severity level of alert.
Such alerting mechanism should be rather global with abillity to turn it off
for specified route.

Do you think it is a good idea to implement such functionality? Maybe do you
have some ideas that may be extend/modify above-mentioned mechanism?

My last thread about Spring Batch integration
(http://camel.465427.n5.nabble.com/DISCUSS-Camel-Spring-Batch-td5457726.html)
is too simple to work for 3-4 months (as provided in GSoC).

I want to ask also about mentoring in Google competition. Does anyone from
PMC of Camel could help me with this project? For my part, I can promise
strong commitment to the project. The task of a mentor is to advise during
the project.

Maybe let me introduce myself:
I'm 24 years old student of Military Uniwersity of Technology from Poland. I
have about 4-5 years of commercial experience. Currently I work at Ministry
of Education where I am responsible for creating a new system of educational
information. And most importantly, I'm a fan of open source software :-)

Thanks in advance for feedback.

--
View this message in context: 
http://camel.465427.n5.nabble.com/DISCUSS-Camel-Alerts-tp5497221p5497221.html
Sent from the Camel Development mailing list archive at Nabble.com.


--

Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to