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.