You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2014/08/13 07:39:27 UTC

Re: Using transactionErrorHandler Java DSL in Camel 2.13.1

Its in SpringRouteBuilder

On Tue, Aug 12, 2014 at 10:16 PM, sandp <sa...@gmail.com> wrote:
> I'm trying to use a transactionErrorHandler in JAVA DSL as mentioned in the
> documentation <http://camel.apache.org/transactionerrorhandler.html>  , but
> *transactionErrorHandler()  * does not exist in class *BuilderSupport*
>
>
> All the online posts refer to the usage as below:
> errorHandler(transactionErrorHandler().maximumRedeliveries(6));
>
>
> I do have the dependencies below, am I missing anything?
>
>                 <dependency>
>                         <groupId>org.apache.camel</groupId>
>                         <artifactId>camel-spring</artifactId>
>                         <version>2.13.1</version>
>                 </dependency>
>                 <dependency>
>                         <groupId>org.springframework</groupId>
>                         <artifactId>spring-jdbc</artifactId>
>                         <version>3.2.8.RELEASE</version>
>                 </dependency>
>
>
>
>
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Using-transactionErrorHandler-Java-DSL-in-Camel-2-13-1-tp5755126.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/