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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content