On Fri, Sep 28, 2012 at 10:04 AM, alireza <a_taherko...@yahoo.com> wrote: > Hi, > > I have a question, as far as I know we can have an outgoing tcp endpoint > which based on the defined route a message can be send to the endpoint using > a producer object. by receiving a message, producer will open a tcp > connection if there is no existing connection. I need your help in two > questions: > > 1- can producer initiate the tcp connection when I start camel engine and > not only after receiving a message > 2- I am looking for a channel concept as a service so that when we define an > outgoing endpoint a channel service will be started > and connection will be established to the remote host, later on i can > restart channel(open/close connection) service using a defined API. > > I am currently using netty component for tcp communication. >
No there is a number of JIRA tickets to improve this. As we have both camel-mina2 and camel-netty its essentially double work to implement this functionality in both frameworks. But there has been several people asking about this. So I assume when we find time we will get this implemented. > thanks > alireza > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/TCP-Channel-as-a-Service-tp5720187.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen