org.mule.module.ibeans.spi.support
Class CallOutboundEndpoint
java.lang.Object
org.mule.endpoint.DynamicOutboundEndpoint
org.mule.module.ibeans.spi.support.CallOutboundEndpoint
- All Implemented Interfaces:
- Serializable, ImmutableEndpoint, OutboundEndpoint, NamedObject, 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 Payload
annotation 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.DynamicOutboundEndpoint |
equals, getAddress, getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getEndpointURIForMessage, getExchangePattern, getFilter, getInitialState, getMessageProcessors, getMessageProcessorsFactory, getMimeType, getMuleContext, getName, getProperties, getProperty, getProtocol, getRedeliveryPolicy, getResponseMessageProcessors, getResponseProperties, getResponseTimeout, getResponseTransformers, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, getTransformers, hashCode, isDeleteUnacceptedMessages, isDisableTransportTransformer, isProtocolSupported, isReadOnly |
NULL_PARAM
public static final 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(String uri)
throws MalformedEndpointException
- Overrides:
validateUriTemplate
in class DynamicOutboundEndpoint
- Throws:
MalformedEndpointException
parseURIString
protected String parseURIString(String uri,
MuleMessage message)
- Overrides:
parseURIString
in class DynamicOutboundEndpoint
getPropertiesForUriTemplate
protected Map<String,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-2012 MuleSoft, Inc.. All Rights Reserved.