|
View:
New views
11 Messages
—
Rating Filter:
Alert me
|
|
|
camel + service mix + spring aspectHi,
I have implemented the following example http://cwiki.apache.org/SM/order-file-processing.html and it is working fine. I need to add few modifications to my camel context.xml. My question is , is it possible to add spring aspects to camel-context.xml i.e <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> <context:annotation-config /> <aop:aspectj-autoproxy/> <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring"> <package>org.camel.su</package> </camelContext> <bean id="firstAspect" class="org.aspect.FirstAspect"/> </beans> I have my pointcuts defined in the java code using spring annotations. The code is as follows: @Aspect public class SystemArchitecture { @Pointcut("execution(* *(..))") public void myFirstPointCut() { } } package org.aspect; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; @Aspect public class FirstAspect { @Around("SystemArchitecture.myFirstPointCut()") public void firstAspect(ProceedingJoinPoint joinPoint) { System.out.println("PRINTING FIRST ASPECT"); try { joinPoint.proceed(); } catch (Throwable e) { // TODO Auto-generated catch block e.printStackTrace(); } } } If defining aspects in camel-context.xml is possible, then how do I define aspects on my RouteBuilder class.Because I want a particular piece of code to be always executed before my route builder class is called and I do not want to embed that code in the routebuilder class. For ex: If I do some thing like this below, <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"> <context:annotation-config /> <aop:aspectj-autoproxy/> <camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring"> <routeBuilder ref="someRouterBuilder"/> </camelContext> <bean id="firstAspect" class="org.aspect.FirstAspect"/> <bean id="someRouterBuilder" class="org.camel.su.MyRouteBuilder"/> </beans> public class MyRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { System.out.println("IN ROUTE BUILDER#####"); // from our camelService which is called by the file poller from("jbi:service:http://servicemix.apache.org/example/orderProcessing") // we process the received order xml .process(new OrderProcessor()) // and send the result xml back to the file sender .to("jbi:service:http://servicemix.apache.org/example/fileSender"); } } I get an exception is saying that routeBuilder should of type org.apache.camel.builder.RouteBuilder. I do not understand why I am getting this exception as my RouteBuilder class is already extending the camel RouteBuilder class. Please help me these queries.I thank you all for your time. |
|
|
Re: camel + service mix + spring aspectHi
What version of Camel are you using? There was an issue with 1.6.0 or older not being able to be IoC in some circumstances if the bean was a RouteBuilder instance. And thats the case with your route builder. However when using proxy it can be on interface or class level. And aspectj looks like it does at classlevel so hence something can go wrong when Camel is not able to see it as a RouteBuilder instance. On Thu, Jul 2, 2009 at 3:46 PM, akshay_ajmani<akshay.ajmani@...> wrote: > > Hi, > > I have implemented the following example > http://cwiki.apache.org/SM/order-file-processing.html and it is working > fine. I need to add few modifications to my camel context.xml. My question > is , is it possible to add spring aspects to camel-context.xml i.e > > <?xml version="1.0" encoding="UTF-8"?> > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:aop="http://www.springframework.org/schema/aop" > xmlns:context="http://www.springframework.org/schema/context" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.5.xsd > http://activemq.apache.org/camel/schema/spring > http://activemq.apache.org/camel/schema/spring/camel-spring.xsd > http://www.springframework.org/schema/aop > http://www.springframework.org/schema/aop/spring-aop-2.5.xsd > http://www.springframework.org/schema/context > > http://www.springframework.org/schema/context/spring-context-2.5.xsd"> > > > <context:annotation-config /> > > <aop:aspectj-autoproxy/> > > > > <camelContext id="camel" > xmlns="http://activemq.apache.org/camel/schema/spring"> > <package>org.camel.su</package> > </camelContext> > <bean id="firstAspect" class="org.aspect.FirstAspect"/> > > </beans> > > > > I have my pointcuts defined in the java code using spring annotations. > > The code is as follows: > > @Aspect > public class SystemArchitecture { > > > > @Pointcut("execution(* *(..))") > public void myFirstPointCut() > { > > } > > } > > package org.aspect; > > import org.aspectj.lang.ProceedingJoinPoint; > import org.aspectj.lang.annotation.Around; > import org.aspectj.lang.annotation.Aspect; > > @Aspect > public class FirstAspect { > > > @Around("SystemArchitecture.myFirstPointCut()") > public void firstAspect(ProceedingJoinPoint joinPoint) > { > System.out.println("PRINTING FIRST ASPECT"); > try { > joinPoint.proceed(); > } catch (Throwable e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > } > } > > > > > If defining aspects in camel-context.xml is possible, then how do I define > aspects on my RouteBuilder class.Because I want a particular piece of code > to be always executed before my route builder class is called and I do not > want to embed that code in the routebuilder class. > > For ex: If I do some thing like this below, > <?xml version="1.0" encoding="UTF-8"?> > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:aop="http://www.springframework.org/schema/aop" > xmlns:context="http://www.springframework.org/schema/context" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans-2.5.xsd > http://activemq.apache.org/camel/schema/spring > http://activemq.apache.org/camel/schema/spring/camel-spring.xsd > http://www.springframework.org/schema/aop > http://www.springframework.org/schema/aop/spring-aop-2.5.xsd > http://www.springframework.org/schema/context > > http://www.springframework.org/schema/context/spring-context-2.5.xsd"> > > > <context:annotation-config /> > > <aop:aspectj-autoproxy/> > > > > <camelContext id="camel" > xmlns="http://activemq.apache.org/camel/schema/spring"> > <routeBuilder ref="someRouterBuilder"/> > </camelContext> > <bean id="firstAspect" class="org.aspect.FirstAspect"/> > <bean id="someRouterBuilder" class="org.camel.su.MyRouteBuilder"/> > </beans> > > public class MyRouteBuilder extends RouteBuilder { > > @Override > public void configure() throws Exception { > System.out.println("IN ROUTE BUILDER#####"); > > // from our camelService which is called by the file poller > > from("jbi:service:http://servicemix.apache.org/example/orderProcessing") > // we process the received order xml > .process(new OrderProcessor()) > // and send the result xml back to the file sender > .to("jbi:service:http://servicemix.apache.org/example/fileSender"); > > > } > > > } > > > > I get an exception is saying that routeBuilder should of type > org.apache.camel.builder.RouteBuilder. I do not understand why I am getting > this exception as my RouteBuilder class is already extending the camel > RouteBuilder class. > > > Please help me these queries.I thank you all for your time. > > > > > > > > -- > View this message in context: http://www.nabble.com/camel-%2B-service-mix-%2B-spring-aspect-tp24307030p24307030.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus |
|
|
Re: camel + service mix + spring aspectThis is my pom.xml
<?xml version="1.0" encoding="UTF-8"?><project> <parent> <artifactId>camel</artifactId> <groupId>camel.trial</groupId> <version>0.0.1-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>camel.trial</groupId> <artifactId>camel-su</artifactId> <packaging>jbi-service-unit</packaging> <name>A Camel based JBI Service Unit</name> <version>0.0.1-SNAPSHOT</version> <url>http://www.myorganization.org</url> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.apache.servicemix.tooling</groupId> <artifactId>jbi-maven-plugin</artifactId> <version>${servicemix-version}</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-maven-plugin</artifactId> <version>${camel-version}</version> <!-- ${camel-version}--> </plugin> </plugins> </build> <repositories> <repository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>open.iona.m2-snapshot</id> <name>IONA Open Source Community Snapshot Repository</name> <url>http://repo.open.iona.com/maven2-snapshot </url> </repository> <repository> <releases /> <snapshots> <enabled>false</enabled> </snapshots> <id>apache</id> <name>Apache Repository</name> <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url> </repository> <repository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>apache.snapshots</id> <name>Apache Snapshots Repository</name> <url>http://people.apache.org/repo/m2-snapshot-repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases /> <snapshots> <enabled>false</enabled> </snapshots> <id>apache</id> <name>Apache Repository</name> <url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url> </pluginRepository> <pluginRepository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>apache.snapshots</id> <name>Apache Snapshots Repository</name> <url>http://people.apache.org/repo/m2-snapshot-repository</url> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>servicemix-camel</artifactId> <version>${servicemix-version}</version> </dependency> <dependency> <groupId>org.apache.servicemix</groupId> <artifactId>servicemix-core</artifactId> <version>${servicemix-version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.6.5</version> </dependency> <!-- <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring</artifactId> <version>${camel-version}</version> </dependency> --> </dependencies> <properties> <servicemix-version>3.3.1.17-fuse</servicemix-version> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> </properties> </project> I am getting the following error.It seems there is some jar version mismatch. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'camelContext': Invoca tion of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myBuilder' defined in file [C:\progress\fuse-esb-3.4.0.2\data\smx\service-assemblies\camel-sa\version_15 \sus\servicemix-camel\camel-su\camel-context.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMe thodError: org.springframework.util.ReflectionUtils.isEqualsMethod(Ljava/lang/reflect/Method;)Z
|
|
|
Re: camel + service mix + spring aspect
|
|
|
Re: camel + service mix + spring aspect>> I have spring core 2.5.6 jar which does not have this method defined.Is my
>> POM.xml correct as I think I may need to change the version of the jar to >> make this work. Hi You are using an old version of ServiceMix 3.3.x that uses Spring 2.0.x. And Camel 1.6.0 uses Spring 2.5.x. Camel 1.6.1 and newer should work better with Spring 2.0.x. So try using 1.6.1 instead and keep the old spring 2.0.x jars. Or you could consider upgrading SMX also to 3.4.x as it uses Spring 2.5.x AFAIR. <servicemix-version>3.3.1.17-fuse</servicemix-version> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus |
|
|
Re: camel + service mix + spring aspectHi,
This is my new pom.xml. I changed the service mix version as follows: <servicemix-version>3.4.0-fuse</servicemix-version> But now it is giving me errors related to artifacts not found.Missing: ---------- 1) org.apache.servicemix:servicemix-camel:jar:3.4.0-fuse I was getting the same errors for jbi-maven-plugin, so I changed the version for this to 3.3.1.17-fuse. Repositories that I am using are: 1)http://repo.open.iona.com/maven2-snapshot 2)http://people.apache.org/repo/m2-ibiblio-rsync-repository 3)http://people.apache.org/repo/m2-snapshot-repository Please let me know the correct versions to use and repository locations. My properties tag in pom.xml is as follows: <properties> <servicemix-jbi-version>3.3.1.17-fuse</servicemix-jbi-version> <servicemix-version>3.4.0-fuse</servicemix-version> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> </properties> pom.xml
|
|
|
Re: camel + service mix + spring aspectHi,
You need to use http://repo.open.iona.com/maven2/ for the released fuse version of service. Willem akshay_ajmani wrote: > Hi, > This is my new pom.xml. I changed the service mix version as follows: > <servicemix-version>3.4.0-fuse</servicemix-version> > > But now it is giving me errors related to artifacts not found.Missing: > ---------- > 1) org.apache.servicemix:servicemix-camel:jar:3.4.0-fuse > > I was getting the same errors for jbi-maven-plugin, so I changed the version > for this to 3.3.1.17-fuse. > > Repositories that I am using are: > 1)http://repo.open.iona.com/maven2-snapshot > 2)http://people.apache.org/repo/m2-ibiblio-rsync-repository > 3)http://people.apache.org/repo/m2-snapshot-repository > > Please let me know the correct versions to use and repository locations. > > > > My properties tag in pom.xml is as follows: > <properties> > <servicemix-jbi-version>3.3.1.17-fuse</servicemix-jbi-version> > <servicemix-version>3.4.0-fuse</servicemix-version> > <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> > </properties> > > > http://www.nabble.com/file/p24355125/pom.xml pom.xml > > Claus Ibsen-2 wrote: >>>> I have spring core 2.5.6 jar which does not have this method defined.Is >>>> my >>>> POM.xml correct as I think I may need to change the version of the jar >>>> to >>>> make this work. >> Hi >> >> You are using an old version of ServiceMix 3.3.x that uses Spring 2.0.x. >> And Camel 1.6.0 uses Spring 2.5.x. Camel 1.6.1 and newer should work >> better with Spring 2.0.x. >> So try using 1.6.1 instead and keep the old spring 2.0.x jars. >> >> Or you could consider upgrading SMX also to 3.4.x as it uses Spring 2.5.x >> AFAIR. >> >> <servicemix-version>3.3.1.17-fuse</servicemix-version> >> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> >> >> >> >> -- >> Claus Ibsen >> Apache Camel Committer >> >> Open Source Integration: http://fusesource.com >> Blog: http://davsclaus.blogspot.com/ >> Twitter: http://twitter.com/davsclaus >> >> > |
|
|
Re: camel + service mix + spring aspectYes I can use that for getting service mix version.But then I get an error for missing artifacts related to
<plugin> <groupId>org.apache.servicemix.tooling</groupId> <artifactId>jbi-maven-plugin</artifactId> <version>${servicemix-version}</version> <extensions>true</extensions> </plugin> Can you please tell me what version for the jbi-maven-plugin should I use
|
|
|
Re: camel + service mix + spring aspectHi,
You also need to add the mvn plugin repository into the pom. <pluginRepositories> <pluginRepository> <id>open.iona.m2</id> <name>IONA Open Source Community Release Repository</name> <url>http://repo.open.iona.com/maven2</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </pluginRepository> </pluginRepositories> Willem akshay_ajmani wrote: > Yes I can use that for getting service mix version.But then I get an error > for missing artifacts related to > <plugin> > <groupId>org.apache.servicemix.tooling</groupId> > <artifactId>jbi-maven-plugin</artifactId> > <version>${servicemix-version}</version> > <extensions>true</extensions> > </plugin> > Can you please tell me what version for the jbi-maven-plugin should I use > > willem.jiang wrote: >> Hi, >> >> You need to use >> http://repo.open.iona.com/maven2/ >> for the released fuse version of service. >> >> Willem >> >> akshay_ajmani wrote: >>> Hi, >>> This is my new pom.xml. I changed the service mix version as follows: >>> <servicemix-version>3.4.0-fuse</servicemix-version> >>> >>> But now it is giving me errors related to artifacts not found.Missing: >>> ---------- >>> 1) org.apache.servicemix:servicemix-camel:jar:3.4.0-fuse >>> >>> I was getting the same errors for jbi-maven-plugin, so I changed the >>> version >>> for this to 3.3.1.17-fuse. >>> >>> Repositories that I am using are: >>> 1)http://repo.open.iona.com/maven2-snapshot >>> 2)http://people.apache.org/repo/m2-ibiblio-rsync-repository >>> 3)http://people.apache.org/repo/m2-snapshot-repository >>> >>> Please let me know the correct versions to use and repository locations. >>> >>> >>> >>> My properties tag in pom.xml is as follows: >>> <properties> >>> <servicemix-jbi-version>3.3.1.17-fuse</servicemix-jbi-version> >>> <servicemix-version>3.4.0-fuse</servicemix-version> >>> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> >>> </properties> >>> >>> >>> http://www.nabble.com/file/p24355125/pom.xml pom.xml >>> >>> Claus Ibsen-2 wrote: >>>>>> I have spring core 2.5.6 jar which does not have this method >>>>>> defined.Is >>>>>> my >>>>>> POM.xml correct as I think I may need to change the version of the jar >>>>>> to >>>>>> make this work. >>>> Hi >>>> >>>> You are using an old version of ServiceMix 3.3.x that uses Spring 2.0.x. >>>> And Camel 1.6.0 uses Spring 2.5.x. Camel 1.6.1 and newer should work >>>> better with Spring 2.0.x. >>>> So try using 1.6.1 instead and keep the old spring 2.0.x jars. >>>> >>>> Or you could consider upgrading SMX also to 3.4.x as it uses Spring >>>> 2.5.x >>>> AFAIR. >>>> >>>> <servicemix-version>3.3.1.17-fuse</servicemix-version> >>>> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> >>>> >>>> >>>> >>>> -- >>>> Claus Ibsen >>>> Apache Camel Committer >>>> >>>> Open Source Integration: http://fusesource.com >>>> Blog: http://davsclaus.blogspot.com/ >>>> Twitter: http://twitter.com/davsclaus >>>> >>>> >> >> > |
|
|
Re: camel + service mix + spring aspectYes, I have added that tag but the thing is if you traverse,
http://repo.open.iona.com/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/ you will notice that 3.4.0-fuse version does not exist there, hence the error. The same thing is for http://repo.open.iona.com/maven2/org/apache/servicemix/servicemix-camel/
|
|
|
Re: camel + service mix + spring aspectThat is because servicemix 4 and servicemix 3.3 (servicemix fuse 3.4.x)
share the same components, and the jbi maven plugin was pulled out of the servicemix 3's repository for share the same version with servicemix 3 and servicemix 4. so the 3.4.0-fuse version of servicemix-camel and the jbi pulgin are not the latest released version of servicemix 3. If you are using apache servicemix 3.2 or servicemix 3.3.x version, please just use that version's servicemix-camel component and maven plugin . Willem. akshay_ajmani wrote: > Yes, I have added that tag but the thing is if you traverse, > http://repo.open.iona.com/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/ > > you will notice that 3.4.0-fuse version does not exist there, hence the > error. > > The same thing is for > http://repo.open.iona.com/maven2/org/apache/servicemix/servicemix-camel/ > > > > willem.jiang wrote: >> Hi, >> >> You also need to add the mvn plugin repository into the pom. >> >> <pluginRepositories> >> <pluginRepository> >> <id>open.iona.m2</id> >> <name>IONA Open Source Community Release Repository</name> >> <url>http://repo.open.iona.com/maven2</url> >> <snapshots> >> <enabled>true</enabled> >> </snapshots> >> <releases> >> <enabled>true</enabled> >> </releases> >> </pluginRepository> >> </pluginRepositories> >> >> Willem >> >> akshay_ajmani wrote: >>> Yes I can use that for getting service mix version.But then I get an >>> error >>> for missing artifacts related to >>> <plugin> >>> <groupId>org.apache.servicemix.tooling</groupId> >>> <artifactId>jbi-maven-plugin</artifactId> >>> <version>${servicemix-version}</version> >>> <extensions>true</extensions> >>> </plugin> >>> Can you please tell me what version for the jbi-maven-plugin should I use >>> >>> willem.jiang wrote: >>>> Hi, >>>> >>>> You need to use >>>> http://repo.open.iona.com/maven2/ >>>> for the released fuse version of service. >>>> >>>> Willem >>>> >>>> akshay_ajmani wrote: >>>>> Hi, >>>>> This is my new pom.xml. I changed the service mix version as >>>>> follows: >>>>> <servicemix-version>3.4.0-fuse</servicemix-version> >>>>> >>>>> But now it is giving me errors related to artifacts not found.Missing: >>>>> ---------- >>>>> 1) org.apache.servicemix:servicemix-camel:jar:3.4.0-fuse >>>>> >>>>> I was getting the same errors for jbi-maven-plugin, so I changed the >>>>> version >>>>> for this to 3.3.1.17-fuse. >>>>> >>>>> Repositories that I am using are: >>>>> 1)http://repo.open.iona.com/maven2-snapshot >>>>> 2)http://people.apache.org/repo/m2-ibiblio-rsync-repository >>>>> 3)http://people.apache.org/repo/m2-snapshot-repository >>>>> >>>>> Please let me know the correct versions to use and repository >>>>> locations. >>>>> >>>>> >>>>> >>>>> My properties tag in pom.xml is as follows: >>>>> <properties> >>>>> <servicemix-jbi-version>3.3.1.17-fuse</servicemix-jbi-version> >>>>> <servicemix-version>3.4.0-fuse</servicemix-version> >>>>> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> >>>>> </properties> >>>>> >>>>> >>>>> http://www.nabble.com/file/p24355125/pom.xml pom.xml >>>>> >>>>> Claus Ibsen-2 wrote: >>>>>>>> I have spring core 2.5.6 jar which does not have this method >>>>>>>> defined.Is >>>>>>>> my >>>>>>>> POM.xml correct as I think I may need to change the version of the >>>>>>>> jar >>>>>>>> to >>>>>>>> make this work. >>>>>> Hi >>>>>> >>>>>> You are using an old version of ServiceMix 3.3.x that uses Spring >>>>>> 2.0.x. >>>>>> And Camel 1.6.0 uses Spring 2.5.x. Camel 1.6.1 and newer should work >>>>>> better with Spring 2.0.x. >>>>>> So try using 1.6.1 instead and keep the old spring 2.0.x jars. >>>>>> >>>>>> Or you could consider upgrading SMX also to 3.4.x as it uses Spring >>>>>> 2.5.x >>>>>> AFAIR. >>>>>> >>>>>> <servicemix-version>3.3.1.17-fuse</servicemix-version> >>>>>> <camel-version>1.6.0</camel-version> <!-- 1.4.0 original value --> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Claus Ibsen >>>>>> Apache Camel Committer >>>>>> >>>>>> Open Source Integration: http://fusesource.com >>>>>> Blog: http://davsclaus.blogspot.com/ >>>>>> Twitter: http://twitter.com/davsclaus >>>>>> >>>>>> >>>> >> >> > |
| Free embeddable forum powered by Nabble | Forum Help |