camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenk <ch...@pontis.com>
Subject How do I log OnException in dsl spring syntax the DestinationUri
Date Thu, 16 Aug 2012 14:10:41 GMT
1) I am looking for a simple way , to log the DestinationUri in case of
Exception in the Dsl Syntax 

I  have 3 uri which present the "to" 
 <failover roundRobin="true" maximumFailoverAttempts="10" />
        <to uri="http://kkk1:8080/M?bridgeEndpoint=true"/>
        <to uri="http://kkk2:8080/M?bridgeEndpoint=true"/>
        <to uri="http://kkk3:8080/M?bridgeEndpoint=true"/>
      </loadBalance>

On exception the failover move to kkk2 the DefaultErrorHandler does not show
me the show http://kkk1:8080/M. in the log . how can I do it ?
can i do it in dsl spring syntax and not by code ? 





--
View this message in context: http://camel.465427.n5.nabble.com/How-do-I-log-OnException-in-dsl-spring-syntax-the-DestinationUri-tp5717549.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message