org.mule.module.ibeans.spi.support
Class CallRequestEndpoint
java.lang.Object
org.mule.endpoint.DynamicURIInboundEndpoint
org.mule.module.ibeans.spi.support.DynamicRequestEndpoint
org.mule.module.ibeans.spi.support.CallRequestEndpoint
- All Implemented Interfaces:
- Serializable, FlowConstructAware, ImmutableEndpoint, InboundEndpoint, Startable, Stoppable, NamedObject, MessageSource, MessageRequesting
public class CallRequestEndpoint
- extends DynamicRequestEndpoint
A dynamic inbound endpoint used for request calls defined using the Call
annotation.
Note that call requests look the same as normal call endpoints except request calls do not define any headers or payload.
The endpoint scheme is the only part of the URI that cannot be replaced at runtime.
- See Also:
CallOutboundEndpoint
,
Serialized Form
Field Summary |
protected Log |
logger
logger used by this class |
Methods inherited from class org.mule.endpoint.DynamicURIInboundEndpoint |
createDefaultRedeliveryPolicy, getAddress, getConnector, getEncoding, getEndpointBuilderName, getEndpointURI, getExchangePattern, getFilter, getInitialState, getMessageProcessors, getMessageProcessorsFactory, getMimeType, getMuleContext, getName, getProperties, getProperty, getProtocol, getRedeliveryPolicy, getResponseMessageProcessors, getResponseTimeout, getRetryPolicyTemplate, getSecurityFilter, getTransactionConfig, isDeleteUnacceptedMessages, isDisableTransportTransformer, isProtocolSupported, isReadOnly, request, setEndpointURI, setFlowConstruct, setListener, start, stop |
logger
protected final transient Log logger
- logger used by this class
CallRequestEndpoint
public CallRequestEndpoint(MuleContext context,
AnnotatedEndpointData epData)
throws MalformedEndpointException
- Throws:
MalformedEndpointException
validateUriTemplate
protected void validateUriTemplate(String uri)
throws MalformedEndpointException
- Overrides:
validateUriTemplate
in class DynamicRequestEndpoint
- Throws:
MalformedEndpointException
parseURIString
protected String parseURIString(String uri,
MuleMessage message)
- Overrides:
parseURIString
in class DynamicRequestEndpoint
getPropertiesForTemplate
protected Map<String,Object> getPropertiesForTemplate(MuleMessage message)
- Overrides:
getPropertiesForTemplate
in class DynamicRequestEndpoint
getTransformers
public List getTransformers()
- Description copied from interface:
ImmutableEndpoint
- Transformers are responsible for transforming data when it is received or
sent by the component (depending on whether this endpoint is a receiver or not). A
tranformation for an inbound event can be forced by the user by calling the
inbound event.getTransformedMessage(). A tranformation for an outbound event
is called or when the Service dispatchEvent() or sendEvent() methods are called.
If an endpoint has no transformers an empty list is returned.
- Specified by:
getTransformers
in interface ImmutableEndpoint
- Overrides:
getTransformers
in class DynamicURIInboundEndpoint
- Returns:
- the transformers to use when receiving or sending data
getResponseTransformers
public List getResponseTransformers()
- Description copied from interface:
ImmutableEndpoint
- The transformers used when a response is returned from invoking this endpoint.
If an endpoint has no response transformers an empty list is returned.
- Specified by:
getResponseTransformers
in interface ImmutableEndpoint
- Overrides:
getResponseTransformers
in class DynamicURIInboundEndpoint
- Returns:
- the transformer to use when receiving the response data
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.