org.mule.api.annotations
Annotation Type ReconnectOn
@Target(value={METHOD,TYPE})
@Retention(value=SOURCE)
@Documented
public @interface ReconnectOn
This annotation can be attached to any method annotated with Processor.
It receives a list of exception classes to be catch.
If the Processor/Source throw an exception that matches any of the exceptions(), it will automatically
invalidate the connection.
exceptions
public abstract Class<? extends Exception>[] exceptions
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.