org.mule.api.annotations.param
Annotation Type MetaDataKeyParam


@Target(value={PARAMETER,FIELD})
@Retention(value=SOURCE)
@Documented
public @interface MetaDataKeyParam

Marks a parameter inside @Processor as the key for the metadata lookup. This lookup is resolved by @MetaDataRetriever method by executing the toString() method on the annotated parameter.

The default parameter affected for the lookup will be the one annotated with @Default("#[payload]"). ie, the parameter with the actual data.


Optional Element Summary
 MetaDataKeyParamAffectsType affects
          It reflects the target of the dynamic type.
 

affects

public abstract MetaDataKeyParamAffectsType affects
It reflects the target of the dynamic type. The default value is AUTO but can be changed to INPUT, OUTPUT or BOTH.

Default:
org.mule.api.annotations.param.MetaDataKeyParamAffectsType.AUTO


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