On Tue, Sep 21, 2010 at 3:40 PM, Willem Jiang <willem.ji...@gmail.com> wrote: > Hi, > > Current camel doesn't support the JSR-330 out of box, > But if you are looking for using Java code to do the route DI work you could > take a look camel-guice[1] and camel-spring-java config [2] > > [1]http://camel.apache.org/guice.html > [2]http://camel.apache.org/spring-java-config.html >
Camel is not an IoC container. So whatever container out there implements JSR-330 should be possible to IoC and work with Camel. Camel is after all just Java code. > Willem > > On 9/21/10 7:23 PM, huntc wrote: >> >> Has anyone used JSR-330 annotations in place of Spring XML for configuring >> Camel? If so then would you be able to report back on your experience and >> perhaps point to some example usage? >> >> I find the idea of configuring DI using JSR-330 quite attractive; in a >> similar vein to Java being used to configure routes instead of XML. >> >> Thanks! > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus