Hi
Could you try raising this question on the servicemix forum?
Have you tried to enable more logging and see what is "happening?"
You could try changing the to endpoint to a log to see if it's logged. Will log
at INFO level by default.
from("mina:tcp://localhost:10000")
.to("log:foo");
Then at least we know the camel part is working and that is able to read the
data and pass the payload to the next node in the route path.
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: 15. juli 2008 21:58
To: [email protected]
Subject: MINA in Camel Route in ServiceMix
I'm attempting to use MINA in a Camel route in ServiceMix to act as a TCP
binding component. My code looks something like this:
public class CamelRoute extends RouteBuilder {
public void configure() {
from("mina:tcp://localhost:10000")
.to("jbi:endpoint:http://www.blah.com/blah/jms");
}
}
The problem is nothing every seems to come from MINA. The client I am using
to send data over the socket connects fine, sends it's data, and closes the
socket with no exceptions, but I still see nothing from MINA. In this
particular case, should it matter, the endpoint I am sending to is a JMS
Provider.
Am I simply implementing MINA incorrectly?
Thanks in advance for any help!
--
View this message in context:
http://www.nabble.com/MINA-in-Camel-Route-in-ServiceMix-tp18473661s22882p18473661.html
Sent from the Camel - Users mailing list archive at Nabble.com.