You need to setup the transaction manager also.
On Fri, Apr 8, 2011 at 4:13 PM, janne postilista <[email protected]> wrote: > Reading "Camel in action" and the documentation it would seems that I > should be able to mark a route as > > <transacted/> > > and by convention it should PROPAGATION_REQUIRED. That causes an error though: > > karaf@root> Exception in thread "SpringOsgiExtenderThread-16" > org.apache.camel.RuntimeCamelException: > org.apache.camel.FailedToCreateRouteException: Failed to create route > route37 at: >>> Transacted[ref:null] <<< in route: > Route[[From[activemq://myroute]] -> [Transacted[ref:null]]] because of > policy must be specified on: Transacted[ref:null] > at > org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139) > > Is this just a bug/feature of current servicemix/camel combo (I am > using apache-servicemix-4.3.1-fuse-00-00) or a sign of that I am doing > something wrong? > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com CamelOne 2011: http://fusesource.com/camelone2011/ Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
