Hi devs,

When a process is undeployed, in BpelProcess#deactivate() method, it checks
whether the process is ACTIVE and call deactivateMyRoleEndpoint(endpoint).
But, what if the process is retired and this process is the only process of
its type, then the deactivateMyRoleEndpoint(endpoint) will not be called and
the respective axis service will not be removed.

IMO, we don't need to check whether the process is active, but make sure
that the size of _myEprs map is zero for the processes that is not the
latest version of its type.
WDYT?


Thanks,
Waruna

-- 
-----------------------------------------------------
Regards,
Waruna Ranasinghe

blog: http://warunapw.blogspot.com
twitter: http://twitter.com/warunapww
http://lk.linkedin.com/in/waruna
www.facebook.com/waruna.ranasinghe

www.wso2.org

Reply via email to