9 Replies Latest reply on Aug 21, 2009 8:32 AM by bobyetman

    ErrorHandler on route vs component problem

    bobyetman

      I created an ErrorHandler, added it to my bean definition file, then added it to a component in my diagram, re-deployed the diagram, and everything worked as expected.   However, when I remove it from the individual component, and apply it to the overall pipeline (which results in ![CDATA[java.lang.IllegalArgumentException: error handler 'TestErrorHandler' must be specified

      at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:165)

      at org.apache.camel.build.ErrorHandlerBuilderRef.createErrorHandler(ErrorHandlerBuilderRef.java:54)

      ....

       

      What am I missing/doing wrong?