org.mule.api.annotations
Annotation Type Processor


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

This annotation marks a method inside a Module as a callable from within a Mule flow. Each parameter on this method will be featured as an attribute on the Mule XML invocation.


Optional Element Summary
 String friendlyName
          A user-friendly name for this processor.
 boolean intercepting
          Setting this value to true will trigger the generation of an org.mule.api.processor.InterceptingMessageProcessor rather than a org.mule.api.processor.MessageProcessor.
 String name
          The xml name of the element that will invoke this processor.
 

name

public abstract String name
The xml name of the element that will invoke this processor. This is optional and if it is not specified a name will be derived from the name of the method.

Default:
""

friendlyName

public abstract String friendlyName
A user-friendly name for this processor.

Default:
""

intercepting

public abstract boolean intercepting
Setting this value to true will trigger the generation of an org.mule.api.processor.InterceptingMessageProcessor rather than a org.mule.api.processor.MessageProcessor. An intercepting processor must receive a org.mule.api.callback.SourceCallback to trigger the next portion of the chain.

Returns:
Default:
false


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