Re: Transacted routes without using spring route builder?

2013-11-08 Thread Claus Ibsen
We have some JIRA tickets to introduce a transaction api in Camel, so you can use that API instead of the Spring TX api. And therefore be able to configure and setup TX with Camel without the Spring. Though we haven't implemented that yet. On Wed, Nov 6, 2013 at 5:11 PM, kraythe .

Re: Transacted routes without using spring route builder?

2013-11-06 Thread Willem jiang
Hi, Camel transaction support is based on Spring transaction framework, even you are tend to use Java DSL. We could let the Spring to load the Camel route which you defined in Java just like this[1] [1]http://camel.apache.org/spring.html#Spring-UsingJavaCode -- Willem Jiang Red Hat, Inc.

Re: Transacted routes without using spring route builder?

2013-11-06 Thread Claus Ibsen
Servlet 3.0 has the @WebListener annotation you can use to bootstrap your application. And there is also this servlet listener from camel to bootstrap Camel without spring http://camel.apache.org/servletlistener-component.html And an example using it

Re: Transacted routes without using spring route builder?

2013-11-06 Thread kraythe .
I currently use the ServletListener to bootstrap things. What i want is the ability to do transacted routes. Putting spring XML in scope in this company won't happen as there are powers here with the ability to kill spring usage and they don't like it. They don't mind if a component uses it but

Transacted routes without using spring route builder?

2013-11-05 Thread kraythe .
Greetings, I have a route that needs to call a database, read some records, format them and put them into ActiveMQ. Naturally the best way to do this would be to wrap the whole thing in a transacted route. However, I do not want to use SpringXML as a route builder interface at all. I don't think