Hi,
I am trying to route the input coming from a socket to a file.
The Spring code is the following:
<camel:route>
<camel:from uri="netty:tcp://0.0.0.0:8282" />
<camel:to uri="file:/path/output/Pipeline" />
</camel:route>
This is how I try to send data to the socket from bash:
cat test
111111111111111
222222222
3333333333333333
[root@dapptnedelescu01 webapps]$ *cat test | nc localhost 8282*
[root@dapptnedelescu01 webapps]$ cat ../logs/catalina.out | grep 8282
INFO: Netty consumer bound to: 0.0.0.0:8282
INFO: Route: route1 started and consuming from: Endpoint[tcp://0.0.0.0:8282]
The route is consuming from port 8282. However, the output file does not end
up with the data from "test".
Am I doing this in the wrong way ? Please, let me know how to get the
message properly routed.
Thank you,
Tereza
--
View this message in context:
http://camel.465427.n5.nabble.com/Routing-socket-input-to-file-output-doesn-t-work-tp4702177p4702177.html
Sent from the Camel - Users mailing list archive at Nabble.com.