Annotation Type Channel

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


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'.

the resource name for the connector


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.

Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.