Hi

The Mina component is documented here:
http://activemq.apache.org/camel/mina.html

You can also try option: ?codec=textline instead.
However textline=true should be a shorthand for the one above.

But if you using an older version of Camel, then maybe only the codec option 
works.

It is the correct format: This is from a unit test:
uri = "mina:tcp://localhost:6321?textline=true";

BTW: Can you submit what versions of SerivceMix and Camel you are using?


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 16:30
To: [email protected]
Subject: Re: MINA in Camel Route in ServiceMix


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
> 
[CI] 
> 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
> 

-- 
View this message in context: 
http://www.nabble.com/MINA-in-Camel-Route-in-ServiceMix-tp18473661s22882p18509790.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to