camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tereza Nedelescu <>
Subject File contents -> socket; socket -> pipeline; fails
Date Thu, 11 Aug 2011 21:11:50 GMT

The code below 
			<camel:from uri="file:/path/src/data/input/inDir?noop=true" />
			<camel:to uri="netty:tcp://999.999.99.99:8985"/>
 			<camel:from uri="netty:tcp://999.999.99.99:8985" />
 				<bean ref="customProcessor"/>
 			        <camel:to uri="file:/path/src/data/output/Pipeline" />   

gives the following error: SEVERE: Context initialization failed
org.apache.camel.RuntimeCamelException: Failed to bind to
    at .......
(Note: 999.999.99.99 is not actually my ip address)

I'm trying to simulate having input to the bean "customProcessor" coming
from a socket. I cannot do that directly, so I send text from a file to a
socket, and then I try to read from the same socket. Is there something
wrong with this ?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message