Well a valid range for an IP address is between 0 and 255 where 0 and 255 are blocked
for internal things.
you should rather use 127.0.0.1 for your local device.

Regards, Achim

Am 11.08.2011 23:11, schrieb Tereza Nedelescu:
Hi,

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

gives the following error: SEVERE: Context initialization failed
org.apache.camel.RuntimeCamelException:
org.jboss.netty.channel.ChannelException: Failed to bind to
/999.999.99.99:8985
     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 ?

Thanks,
Tereza

--
View this message in context: 
http://camel.465427.n5.nabble.com/File-contents-socket-socket-pipeline-fails-tp4691086p4691086.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
--
*Achim Nierbeck*


Apache Karaf<http://karaf.apache.org/>  Committer&  PMC
OPS4J Pax Web<http://wiki.ops4j.org/display/paxweb/Pax+Web/>    Committer&  
Project Lead
blog<http://notizblog.nierbeck.de/>

Reply via email to