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

## org.mule.config.annotations.routing
Annotation Type Idempotent

    @Target(value=TYPE)
    @Retention(value=RUNTIME)
    @Documented
    public @interface Idempotent

`IdempotentReceiver` ensures that only unique messages are received by a component. There are different types of idempotency handlers:

- ID - Checks the unique ID of the incoming message. Note that the underlying endpoint must support unique message Ids for this to work, otherwise a `UniqueIdNotSupportedException` is thrown.
- HASH - Calculates the SHA-256 hash of the message itself. This provides a value with an infinitesimally small chance of a collision.

Optional Element Summary
`String` | `value` The message id expression to index the received messages against

### value

    public abstract String value

  The message id expression to index the received messages against

  Returns:
    The message id expression to index the received messages against
  Default:
    "#[mule:messageId]"

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.