Nav
You are viewing an older version of this topic. To go to a different version, use the version menu at the upper-right. +

@Mule Annotation

A parameter injection annotation that can be used on component entry points and transformer methods, this annotation can be used to execute a Mule Expression on the message payload with the result being passed into the method.


       
    
1
2
3
4
5
public class MyComponent {
    public Object process(@Mule("message.payload") String payload) {
        // do stuff
    }
}

Mule defines a micro language for accessing the current message and Mule environment, more information can be found here.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+