You used different direct endpoint name.
The first one is “direct:testEndpoint” and the second one is 
“direct:testEndPoint”.
You should use the same direct endpoint name here. 

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On August 27, 2014 at 2:56:58 PM, edmondo1984 (edmondo.po...@gmail.com) wrote:
> I am extending the BaseNettyTest. I forked the git repo and checked out the
> 2.13.2 tag
>  
> public class NettyCustomLocalPortProducerTest extends BaseNettyTest {
>  
> @Test
> public void routeFails() throws Exception{
> template.sendBody("direct:testEndpoint", "Hello world");
> }
>  
> protected RouteBuilder createRouteBuilder() {
> return new RouteBuilder() {
> public void configure() {
>  
> from("direct:testEndPoint").to("netty:tcp://
> www.google.com:80");
>  
> }
> };
> }
> }
>  
> Hopefully once I will be able to run this I can contribute myself with the
> fix to use a different port :))
>  
> Best
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-Netty-component-bind-failure-tp5755683p5755751.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to