I have tried to work with Camel and MINA inside ESB

For tesing I have created route to read message from file and send it to
MINA tcp
I also have a simple stanalon TCP server created with MINA.

Camel route looks like:

 from("file:path").to("mina:tcp://host:port");
File is read (I see that it is deleted) but message doesn't go to MINA,
server side does't report about any connections.

I tried to find some information in ServiceMix traces, but it seems that
there are no  trace messages from Camel and MINA, but I set DEBUG level for
root loger in conf/log4j.xml

What I am doing wrong and how to see MINA, Camel traces ?

Thank you.



Gert Vanthienen wrote:
> 
> Pavlo,
> 
> 
> On http://servicemix.apache.org/servicemix-camel.html you find some 
> basic information as well a link to an example.  Before you can use the 
> MINA component in your RouteBuilder, you'll have to add it as a 
> dependency on your Camel SU project. 
> 
> After that, you should look at the Camel website for more information on 
> how to specify the route itself and how to configure the MINA endpoint 
> (basically, start your route with from("mina:tcp:...")... ). To interact 
> with other services on the ESB, you can uri's (as defined on 
> http://activemq.apache.org/camel/jbi.html). 
> 
> I agree we have to provide more samples/explanation about using Camel 
> inside ServiceMix to make the possibilities there more clear to users.
> 
> 
> Gert
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ServiceMix-evaluation-for--TCP-%3C-%3E-XSLT-%3C-%3E-WS-tp15329736s12049p15468374.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to