You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Cutto <mb...@gmail.com> on 2007/03/13 10:16:22 UTC
Tasks on startup and/or shutdown
Hi there.
We're working on a solution in wich execution of some tasks at Servicemix
startup and/or shutdown would be desirable.
Is there any way to do this?
Thanks in advance for your help.
--
View this message in context: http://www.nabble.com/Tasks-on-startup-and-or-shutdown-tf3394729s12049.html#a9450714
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Tasks on startup and/or shutdown
Posted by Cutto <mb...@gmail.com>.
Sorry for this few days without answer.
We've been digging into the LifeCycle strategy, and could be a solution for
us.
Bur we didn't know about this package, so we'll study it as another
possibility.
Thank you for your reply.
gnodet wrote:
>
> You can register listeners on events.
> Take a look at the org.apache.servicemix.jbi.events package.
> http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/core/servicemix-core/apidocs/
>
> Is that what you are looking for ?
>
> On 3/13/07, Cutto <mb...@gmail.com> wrote:
>>
>>
>>
>> Hi again.
>>
>> After re-reading myself I found my question very ambiguous.
>> Sorry about that, we're kind of newbies with Servicemix
>>
>> We're being thinking about some strategies to execute 'tasks' on
>> Servicemix
>> startup/shutdown, and we're doing some research:
>> - find a way to send a message to a service just after start
>> - maybe use the life cycle of a component (overriding start-stop methods)
>>
>> There would be others, we guess...
>>
>> Thanks
>>
>>
>> Cutto wrote:
>> >
>> >
>> > Hi there.
>> >
>> > We're working on a solution in wich execution of some tasks at
>> Servicemix
>> > startup and/or shutdown would be desirable.
>> >
>> > Is there any way to do this?
>> >
>> > Thanks in advance for your help.
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Tasks-on-startup-and-or-shutdown-tf3394729s12049.html#a9451797
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/Tasks-on-startup-and-or-shutdown-tf3394729s12049.html#a9512221
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: [implentation on an internal system host] Tasks on startup and/or shutdown
Posted by Guillaume Nodet <gn...@gmail.com>.
You can register listeners on events.
Take a look at the org.apache.servicemix.jbi.events package.
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/core/servicemix-core/apidocs/
Is that what you are looking for ?
On 3/13/07, Cutto <mb...@gmail.com> wrote:
>
>
>
> Hi again.
>
> After re-reading myself I found my question very ambiguous.
> Sorry about that, we're kind of newbies with Servicemix
>
> We're being thinking about some strategies to execute 'tasks' on
> Servicemix
> startup/shutdown, and we're doing some research:
> - find a way to send a message to a service just after start
> - maybe use the life cycle of a component (overriding start-stop methods)
>
> There would be others, we guess...
>
> Thanks
>
>
> Cutto wrote:
> >
> >
> > Hi there.
> >
> > We're working on a solution in wich execution of some tasks at
> Servicemix
> > startup and/or shutdown would be desirable.
> >
> > Is there any way to do this?
> >
> > Thanks in advance for your help.
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Tasks-on-startup-and-or-shutdown-tf3394729s12049.html#a9451797
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
Re: [implentation on an internal system host] Tasks on startup
and/or shutdown
Posted by Cutto <mb...@gmail.com>.
Hi again.
After re-reading myself I found my question very ambiguous.
Sorry about that, we're kind of newbies with Servicemix
We're being thinking about some strategies to execute 'tasks' on Servicemix
startup/shutdown, and we're doing some research:
- find a way to send a message to a service just after start
- maybe use the life cycle of a component (overriding start-stop methods)
There would be others, we guess...
Thanks
Cutto wrote:
>
>
> Hi there.
>
> We're working on a solution in wich execution of some tasks at Servicemix
> startup and/or shutdown would be desirable.
>
> Is there any way to do this?
>
> Thanks in advance for your help.
>
>
--
View this message in context: http://www.nabble.com/Tasks-on-startup-and-or-shutdown-tf3394729s12049.html#a9451797
Sent from the ServiceMix - User mailing list archive at Nabble.com.