Kai,
why don't you ask in the camel mailing list for help?
This is not really a servicemix issue.
Regards
Lars
kai0411 schrieb:
after some tests, we found that if we have (case one):
public class MyRouteBuilder extends RouteBuilder {
public void configure() {
from("mina:tcp://localhost:8803")
.convertBodyTo(String.class)
.to("log:tutorial-string");
}
}
then nothing would be posted to ServiceMix console no matter what is send to
port 8803. We have tried to open a socket or even directly telnet.
If we have (case two):
public class MyRouteBuilder extends RouteBuilder {
public void configure() {
from("timer://tutorial?fixedRate=true&period=10000")
.setBody(constant("<message>hello world</message>"))
.to("mina:tcp://localhost:8803");
}
}
then we can receive xxxxxxx"<message>hello world</message>", where xxxxxxx
is something unprintable characters.
So we guess that in case one mina is expecting some kind of special
'protocol' as it happens in case two. Has anyone had the similar experience?
kai0411 wrote:
I'm following the tutorial in
http://servicemix.apache.org/35-using-other-camel-components.html to build
a TCP/IP BC using MINA. After I successfully deployed the SA, what should
I do with port 10021 to send and receive message?