public interface MessageProcessorAnnotationParser
OutboundRouter
annotation.Modifier and Type | Method and Description |
---|---|
MessageProcessor |
parseMessageProcessor(Annotation annotation)
Will create a Mule Router according to the annotation.
|
boolean |
supports(Annotation annotation,
Class clazz,
Member member)
Determines whether this parser can process the current annotation.
|
MessageProcessor parseMessageProcessor(Annotation annotation) throws MuleException
OutboundRouter
annotation.annotation
- the current annotation being processedMuleException
- if the inbound endpoint cannot be created. A Mule-specific error will be thrown.boolean supports(Annotation annotation, Class clazz, Member member)
annotation
- the annotation being processedclazz
- the class on which the annotation was foundmember
- the member on which the annotation was found inside the class. This is only set when the annotation
was either set on a Method
, Field
or Constructor
class member, otherwise this value is null.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.