It should be "mina:tcp://localhost:1000?codec=textline" .
I think it is the time to update the wiki page ;)
Willem
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