[ 
https://issues.apache.org/activemq/browse/SM-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45762#action_45762
 ] 

Guillaume Nodet commented on SM-1554:
-------------------------------------

It depends on the exact problem.  Some endpoins require the target endpoint to 
be available so that they can retrieve the target endpoint WSDL for example.
Such things are usually done when the endpoint is activated, so the only way 
would be to have inter-SA dependencies to tweak the SA startup order.

If the endpoints need the target endpoint only when sending exchanges, this 
should be easy to fix, as the JBI container should be able to initialize all 
SAs first, then start them.
But this is not how it works right now.

> Suspending of deploying and starting component
> ----------------------------------------------
>
>                 Key: SM-1554
>                 URL: https://issues.apache.org/activemq/browse/SM-1554
>             Project: ServiceMix
>          Issue Type: Improvement
>         Environment: SMX 3.2.x
>            Reporter: Ivan Pryvalov
>
> Ivan,
> Startup and shutdown can be hard problems to tackle in this kind of 
> environment, where services come and go as SA get deployed and removed.  We 
> should probably try to find a way to suspend message flows until all SA have 
> been started or something else to avoid this kind of problem where a service 
> starts sending messages to another one, that hasn't been started yet (because 
> that is what you are trying to do here, I assume?).  Could you submit a JIRA 
> issue for this?
> Regards,
> Gert
> ivan wrote:
> >   Hi!
> >
> > I faced following: service's installation can be suspended till needed 
> > component (servicemix-bean etc) is installed.
> >
> > Can I use this mechanism to set dependency to some other service, but 
> > component? I mean, installation and starting some service (service-unit) A 
> > will be suspended till some service (service-unit) B is installed and 
> > started.
> >
> >   Thanks,
> >   Ivan Pryvalov.
> >

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to