hello ,

 I see in my logs the below 
*2016-07-26 15:39:11,523  WARN [org.apache.camel.spring.Main.main()]
(EventHelper.java                   :807)       - Error notifying event Starting
CamelContext: camel-1. This exception will be ignored. *
java.sql.SQLException: Cannot create PoolableConnectionFactory (IO Error:
The Network Adapter could not establish the connection)

I am not sure why camel is ignoring this exception. 

I have tried to use a Onexception clause but apparantely my bean does not
get called also.

below the camelcontext

 <camelContext   xmlns="http://camel.apache.org/schema/spring"; >
  <onException>
        <exception>java.sql.SQLException</exception>
       <handled>
          <constant>true</constant>
       </handled>
       <bean ref="ExceptionService" method="exceptionError" />
    </onException>



--
View this message in context: 
http://camel.465427.n5.nabble.com/Why-is-camel-ignoring-Startp-event-error-tp5785465.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to