PreDestroy annotated methods in a sevice bean is not invoked in JBoss FSW 6.0

Solution Verified - Updated -

Issue

A method annotated with @PretDestroy does not get called in a Switchyard service bean.

@PreDestroy 
private void onDestroy() {
            ...
}

Environment

Red Hat JBoss Fuse Service Works (FSW) 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.