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

## org.mule.config.annotations.endpoints
Annotation Type Channel

    @Retention(value=RUNTIME)
    @Target(value=ANNOTATION_TYPE)
    public @interface Channel

Marks an endpoint annotation and provides the connector protocol and type.

Required Element Summary
`String` | `identifer` The short protocol name for the connector.
`ChannelType` | `type` The endpoint type.

Element Detail

### identifer

    public abstract String identifer

  The short protocol name for the connector. Where the annotation is general purpose, a string ID can be used such as 'outbound' or 'reply'.

  Returns:
    the resource name for the connector

### type

    public abstract ChannelType type

  The endpoint type. `ChannelType.Inbound` is used to indicate that the endpoint annotation is used for receiving messages. `ChannelType.Outbound` indicates that the endpoint will be used for dispatching events.

  Returns:

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.