On Thu, May 19, 2011 at 3:52 PM, sub3 <[email protected]> wrote:
> I found a partial solution.  If I delay starting any components until 10
> seconds after starting ActiveMQ, everything is fine. My guess is that it
> won't route items already on the queue, if it was there before the
> camel-context file initializes?
>
> Is there any control I can use, from a client pov, to check to make sure the
> routing is initialized?

Camel has API to check the state of its routes / endpoints / components etc.

CamelContext -> getRoute -> getStatus

You may need to cast the Route to DefaultRoute.
In fact we should probably make the getStatus part of the Route interface.




>
> Thanks.
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Needing-to-push-objects-out-for-some-reason-tp4393878p4409772.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
CamelOne 2011: http://fusesource.com/camelone2011/
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to