org.mule.api.annotations
Annotation Type InvalidateConnectionOn


Deprecated. Use ReconnectOn instead

@Target(value=METHOD)
@Retention(value=SOURCE)
@Documented
@Deprecated
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
          Deprecated. The class of the exception that signals the invalidation of the connection
 

Element Detail

exception

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



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