You are viewing an older version of this section. Click here to navigate to the latest version.

@Mule Annotation

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

public class MyComponent {    public Object process(@Mule("message.payload") String payload) {        // do stuff    }}