Ramesh Babu,

If you're new to ServiceMix, I would definitely recommend you to start
with ServiceMix 4 and use OSGi bundles to deploy Camel routes instead
of using JBI service assemblies.  Once you go down that road, it all
becomes a lot easier.  The Camel routes are started with Spring or
Blueprint XML files, so you can easily create a bean there that uses
an init-method/destroy-method to find out when the application context
is being started and stopped.  Another option would be to register a
LifecycleStrategy on the CamelContext.  The interface has callback
methods that will be invoked when the CamelContext is started and
stopped.


Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On Fri, Feb 4, 2011 at 7:20 AM, Ramesh Babu <[email protected]> wrote:
>
> Hi, i am new to servicemix. I have to send a mail when service assemble start 
> OR stop. Please help me... Thanks &amp; Regards Ramesh Babu.P &nbsp; Get 
> email for your site ---&gt; http://www.everyone.net
>
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/send-a-mail-when-service-assemble-start-OR-stop-tp3370514p3370514.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>

Reply via email to