Thanks for you feedback!

Chistian:
Exacly, general idea can present the following hypothetical configuration:

<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
        
        <alerts>
                <threadPoolAlert id="tpa" profile="fooProfile" severity="major"
threshold="70%" />
                <lowMemoryAlert id="lma" pool="PermGen" severity="critical"
threshold="80%" />
                <exceptionAlert id="xa" type="com.foo.MyException" 
severity="critical" />
        </alerts>
        
        <threadPoolProfile id="fooProfile" poolSize="20" maxPoolSize="50"
maxQueueSize="-1"/>
        
        <route>
           <from uri="alert?id=tpa"/>
           <to uri="smtp://ad...@mymailserver.com?password=secret"/>
        </route>

</camelContext>

Alert will generate an event and specified route can receive this event.
Christain, do you mean something like that?

Johan,
thanks for thanks for the support.

Michal

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

Reply via email to