Aha! I realized that I forgot to update my camel version in my pom, so I was in fact importing the incorrect jar files for the 1.4 snapshot.
I am now at least receiving something from MINA (not what I want, but that's a problem I can solve ;)) Thanks for you help! Claus Ibsen wrote: > > Hi > > This is very strange for the error message you get with the "1 parameters > ..." was a validation feature that was introduced in Camel 1.4. > > Could it be that camel-mina.jar is an old jar? Please check all you jars, > what version they are. > > > Med venlig hilsen > > Claus Ibsen > ...................................... > Silverbullet > Skovsgårdsvænget 21 > 8362 Hørning > Tlf. +45 2962 7576 > Web: www.silverbullet.dk > > -----Original Message----- > From: Ridire123 [mailto:[EMAIL PROTECTED] > Sent: 17. juli 2008 17:03 > To: [email protected] > Subject: Re: MINA in Camel Route in ServiceMix > > > Thanks once again for the replies. > > I have tried this deployed in both ServiceMix 3.2.1 with the Camel > 1.4-SNAPSHOT and 3.2.2-SNAPSHOT. > > My route is now updated to: > from("mina:tcp://localhost:10000?codec=textline") > > It still is not deploying correctly, though. The significant error text I > am receiving is: > > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to > resolve endpoint: mina:tcp://localhost:10000?codec=textline > due to: There are 1 parameters that couldn't be set on the endpoint. Check > the uri if the parameters are spelt correctly and that > they are properties of the endpoint. Unknown parameters=[{codec=textline}] > > > Gert Vanthienen wrote: >> >> L.S., >> >> What version of ServiceMix are you using? The textline parameter >> wouldn't be available for the latest released version (3.2.1) which >> ships with Camel 1.2 in the component, but only for a recent >> 3.2.2-SNAPSHOT or 3.3-SNAPSHOT (which include 1.4-SNAPSHOT). You can >> get a 3.2.2-SNAPSHOT version of the Camel component from >> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/servicemix-camel/3.2.2-SNAPSHOT/ >> >> >> >> If you want a full SNAPSHOT download for ServiceMix instead, that should >> be available from the same Maven repo as well. >> >> Regards, >> >> Gert >> >> Ridire123 wrote: >>> Thanks for the replies. I've tried to make the change with the textline >>> option enabled: >>> >>> from("mina:tcp://localhost:10000?textline=true") >>> >>> However upon deployment I'm being told that the textline=true parameter >>> cannot be solved. The URI format for the MINA component doesn't specify >>> if >>> this is the correct way to do this, either. >>> >>> >>> Gert Vanthienen wrote: >>> >>>> L.S., >>>> >>>> And you probably also need to add the same parameter to the >>>> .to("mina:tcp://localhost:10000") in the same RouteBuilder to get the >>>> original demo working again. >>>> >>>> Gert >>>> >>>> Claus Ibsen wrote: >>>> >>>>> Hi >>>>> >>>>> Yes of course you need to set textline=true as an option. >>>>> http://activemq.apache.org/camel/mina.html >>>>> >>>>> >>>>> >>>>>> public void configure() { >>>>>> from("mina:tcp://localhost:10000&textline=true") >>>>>> .to("jbi:endpoint:http://www.blah.com/blah/jms"); >>>>>> >>>>>> >>>>> Med venlig hilsen >>>>> >>>>> Claus Ibsen >>>>> ...................................... >>>>> Silverbullet >>>>> Skovsgårdsvænget 21 >>>>> 8362 Hørning >>>>> Tlf. +45 2962 7576 >>>>> Web: www.silverbullet.dk >>>>> >>> >>> >> >> >> >> ----- >> --- >> Gert Vanthienen >> http://www.anova.be >> > > -- > View this message in context: > http://www.nabble.com/MINA-in-Camel-Route-in-ServiceMix-tp18473661s22882p18510534.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/MINA-in-Camel-Route-in-ServiceMix-tp18473661s22882p18511600.html Sent from the Camel - Users mailing list archive at Nabble.com.
