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.


Required Element Summary
 Class<? extends Exception>[] exceptions
           
 

Element Detail

exceptions

public abstract Class<? extends Exception>[] exceptions


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.