Re: Quartz route with Spring transactions

2009-04-15 Thread Martin Gilday
due to that preventing the route participating in the same transaction as the one spring-test is creating to run the test case in. Martin. - Original message - From: "Claus Ibsen" To: users@camel.apache.org Date: Wed, 15 Apr 2009 16:20:57 +0200 Subject: Re: Quartz route w

Re: Quartz route with Spring transactions

2009-04-15 Thread Claus Ibsen
Hi I assume its Camel 1.x. You must use the .policy(required) stuff to indicate a route is transacted in Camel 1.x See the transactional client EIP for details. from(quartz://..).policy(required).to(springBean).to(springBean); It will commit if the exchange was processed with no exception. If a

Quartz route with Spring transactions

2009-04-15 Thread Martin Gilday
Hi, One of my colleagues is trying to create a transactional route which starts with a Quartz endpoint. However the transaction does not appear to start. If he replaces the Quartz endpoint with a Direct then the transaction works. He would like the whole route started by the Quartz endpoint to b