@Target(value=METHOD) @Retention(value=SOURCE) @Documented public @interface Disconnect
ConnectionManagement as the responsible for disposing
a connection. It will be called by the connector's connection manager.
When a connection lies in the pool without use for more than the configured time,
then the method annotated with @Disconnect is invoked and subsequently the @Connect method. Also, when the @InvalidateConnectionOn
annotation is used on a method to catch Exceptions, then the @Disconnect method likewise is invoked with the subsequent reconnect
Disconnect method must:
void type
ConnectionManagementCopyright © 2010–2015 MuleSoft, Inc.. All rights reserved.