org.mule.api.annotations.meta
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.



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