Hi!

I use Servicemix 3.2.1 (it is already old version).

In some service (servicemix-bean component) I use annotation @PostConstruct and @PreDestroy and found some behavoir of component in life-cycle of service:


1. Deploy:     @PostConstruct is called.
2. Stop  :     @PreDestroy is called.
3. Start :     @PostConstruct is NOT called.
4. Stop  :     @PreDestroy is called.


It is bug of SMX 3.2.1 or not?
What correct behaviour should be?


Thanks,
Truly yours,
Ivan Pryvalov.

Reply via email to