org.mule.api.annotations.meta
Annotation Type Router
@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface Router
Marks a router annotation and provides the type.
type
public abstract RouterType type
- The router type.
RouterType.Inbound
indicates that the router annotation is
used on the inbound flow on the service. RouterType.Outbound
indicates that the
router will be used on the outbound flow. RouterType.ReplyTo
indicates that the
router will be used for ReplyTo flows.
- Returns:
- the type of Router
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.