org.mule.api.annotations
Annotation Type InvalidateConnectionOn


@Target(value=METHOD)
@Retention(value=SOURCE)
@Documented
public @interface InvalidateConnectionOn

This annotation can be attached to any method also annotated with Processor or Source. It receives a single argument which is the class of the exception to be catch.

If the exception is thrown by the Processor/Source it will automatically invalidate the connection.


Required Element Summary
 Class exception
          The class of the exception that signals the invalidation of the connection
 

Element Detail

exception

public abstract Class exception
The class of the exception that signals the invalidation of the connection



Copyright © 2010-2013 MuleSoft, Inc.. All Rights Reserved.