Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.mule.config.annotations.expressions
Annotation Type Groovy

    @Target(value=PARAMETER)
    @Retention(value=RUNTIME)
    @Documented
    public @interface Groovy

This allows Groovy codes to be executed on the current message. Mule will bind a number of objects to the groovy context:

- muleContext - A reference to the MuleContext object.
- eventContext - A reference to the event context. This allows you to dispatch events progammatically from your script.
- message - The current message.
- payload - The payload of the current message. This is just a shortcut to $message.payload.
- service - A reference to the current service object.
- id - The current event ID. This is a UUID created for events in Mule.
- log - A logger that can be used to write to Mule's log file.

Required Element Summary
`String` | `value`

Optional Element Summary
`boolean` | `required`

Element Detail

### value

    public abstract String value

### required

    public abstract boolean required

  Default:
    true

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.