Hi

I have a custom endpoint which has both a consumer and a producer. 

When a new instance of the endpoint and its producer and consumer is created
I want to perform a particular action.

I am trying to determine if there is any callback method on the endpoint,
consumer and producer which might indicate this state has been reached. From
debugging through the code I see the doStart() methods invoked in the
following flow:

(1) Endpoint.doStart()
(2) Producer.doStart()
(3) Consumer.doStart()

Hence, I am thinking I could invoke the action in the Consumer.doStart()
method.

Am I guaranteed that the Consumer.doStart() will always be invoked after the
Producer.doStart()?

Thanks
Joe

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Lifecycle-question-tp5714458.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to