Hi You can call start on your producer. But Camel would normally do that for you if you use it from a Camel route.
How do you use your custom component? On Mon, May 17, 2010 at 9:41 AM, lekkie <[email protected]> wrote: > > Hi guys, > > I have a custom component which I have written, I intend to connect to a > remote service provider over a protocol which I have implemented in my camel > component producer. > > I connect to the remote service with the help of CustomProducer which > extends DefaultProducer. > I overruled the doStart function in the base class wherein I asked the > component to establish a connection to the remote provider. > > However, I noticed that whenever I start the custom component, it never > connects to the remote entity until a message is sent to the custom > component's endpoint? > > How do I make sure it connects at start up? > > kr. > -- > View this message in context: > http://old.nabble.com/Connecting-Custom-camel-component-to-remote-provider-on-startup-tp28580304p28580304.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
