Hi everyone,

   I am new to camel & as well as netty4. please feel free correct me if I
am wrong.
   
   *Objective*: To use netty4 as TCP server & consumer in camel. 

   *What I have done so far:*

    I have written a java class to instantiate DefaultCamelContext and
created a camel-context xml (Spring DSL). At the same time, I have also
imported all camel lib (i.e. DefaultCamelContext & camel-netty4-2.15.2.jar &
etc) into my eclipse java project. Then, I read in the route information
from the camel-context.xml to CamelContext object - which will start all the
routes. The routes includes using of "file" and "activemq" components. All
these are running fine.

    How I include the activemq component is by including <bean id="broker"
class="org.apache.activemq.camel.component.ActiveMQComponent"> in the
camel-context.xml.
    
    Now, I need to include a new route which is from netty4:tcp:{IP:port} to
file component.

    However, when I run my program, it keeps complaining that -
FailedToCreateRouteException - Cannot auto create component:netty4

   *Questions:*
    1) Am I implementing correctly?
    2) How to resolve the FailedToCreateRouteException?

    Thanks in advanced.

Roger 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Cannot-Auto-Create-Component-Netty4-tp5772149.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to