On Fri, Dec 18, 2009 at 9:30 AM, Aleksey Masny <[email protected]> wrote: > > Glaus, many thanks! > > Now (before 2.2.0 release) I modified dependency to camel-ibatis on (in > pom.xml): > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-ibatis</artifactId> > <version>2.2-SNAPSHOT</version> > </dependency> > > Added snapshot repository (in pom.xml): > <repositories> > <repository> > <id>snaphot-repo</id> > > <url>https://repository.apache.org/content/repositories/snapshots/</url> > </repository> > </repositories> > > And manualy identified the configuration file for IBatis (in > camel-context.xml): > <bean id="JDEdb" > class="org.apache.camel.component.ibatis.IBatisComponent"> > <property name="sqlMapConfig" value="classpath:WMS_SqlMapConfig.xml2"/> > </bean> > > And here's my route, for example. > from("timer://start?fixedRate=true&period=10000").// > to("bean:helper?method=genEvent").// > to("JDEdb:testInsert?statementType=Insert");// > > It works! > > Camel it's a obedient camel :)
Great that is good news. Yeah we have tamed that wild Camel many years ago. This Camel is willingly and loves its community and its riders! > -- > View this message in context: > http://old.nabble.com/How-to-use-multiple-dataSource-in-camel.iBatis--tp26828799p26840495.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- 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
