org.mule.module.ibeans.spi.support
Class CallOutboundEndpoint
java.lang.Object
org.mule.endpoint.DynamicURIOutboundEndpoint
org.mule.endpoint.DynamicOutboundEndpoint
org.mule.module.ibeans.spi.support.CallOutboundEndpoint
- All Implemented Interfaces:
- java.io.Serializable, ImmutableEndpoint, OutboundEndpoint, MessageProcessor
public class CallOutboundEndpoint
- extends DynamicOutboundEndpoint
A dynamic outbound endpoint defined when using the Call
annotation. A CallOutboundEndpoint
is generated when the Call method has a one or more payloads defined using org.ibeans.annotation.param.Payload
or org.ibeans.annotation.param.PayloadParam
annotations
or one or more headers defined using the HeaderParam
annotation.
annotations.
The endpoint scheme is the only part of the URI that cannot be replaced at runtime.
- See Also:
CallRequestEndpoint
,
Serialized Form
Methods inherited from class org.mule.endpoint.DynamicURIOutboundEndpoint |
getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getExchangePattern, getFilter, getInitialState, getMessageProcessors, getMessageProcessorsFactory, getMimeType, getMuleContext, getName, getProperties, getProperty, getProtocol, getResponseMessageProcessors, getResponseProperties, getResponseTimeout, getResponseTransformers, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, getTransformers, isDeleteUnacceptedMessages, isDisableTransportTransformer, isProtocolSupported, isReadOnly, setEndpointURI |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NULL_PARAM
public static final java.lang.String NULL_PARAM
- See Also:
- Constant Field Values
logger
protected final transient Log logger
- logger used by this class
parser
protected TemplateParser parser
CallOutboundEndpoint
public CallOutboundEndpoint(MuleContext context,
AnnotatedEndpointData epData)
throws MalformedEndpointException
- Throws:
MalformedEndpointException
validateUriTemplate
protected void validateUriTemplate(java.lang.String uri)
throws MalformedEndpointException
- Overrides:
validateUriTemplate
in class DynamicOutboundEndpoint
- Throws:
MalformedEndpointException
parseURIString
protected java.lang.String parseURIString(java.lang.String uri,
MuleMessage message)
- Overrides:
parseURIString
in class DynamicOutboundEndpoint
getPropertiesForUriTemplate
protected java.util.Map<java.lang.String,java.lang.Object> getPropertiesForUriTemplate(MuleMessage message)
process
public MuleEvent process(MuleEvent event)
throws MuleException
- Description copied from interface:
MessageProcessor
- Invokes the MessageProcessor.
- Specified by:
process
in interface MessageProcessor
- Overrides:
process
in class DynamicOutboundEndpoint
- Parameters:
event
- MuleEvent to be processed
- Returns:
- optional response MuleEvent
- Throws:
MuleException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.