public class DynamicURIInboundEndpoint extends Object implements InboundEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected InboundEndpoint |
endpoint |
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPEDREQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELYPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
DynamicURIInboundEndpoint(InboundEndpoint endpoint) |
DynamicURIInboundEndpoint(InboundEndpoint endpoint,
EndpointURI dynamicEndpointURI) |
| Modifier and Type | Method and Description |
|---|---|
AbstractRedeliveryPolicy |
createDefaultRedeliveryPolicy(int maxRedelivery) |
boolean |
equals(Object obj) |
String |
getAddress()
This returns the address of the endpoint.
|
Connector |
getConnector()
The endpoint that will be used to send the message on.
|
String |
getEncoding()
Decides the encoding to be used for events received by this endpoint
|
String |
getEndpointBuilderName()
The name of the endpoint builder used to create this endpoint.
|
EndpointURI |
getEndpointURI()
This specifess the communication endpointUri.
|
MessageExchangePattern |
getExchangePattern() |
Filter |
getFilter()
The filter to apply to incoming messages.
|
String |
getInitialState()
Sets the state the endpoint will be loaded in.
|
List<MessageProcessor> |
getMessageProcessors() |
EndpointMessageProcessorChainFactory |
getMessageProcessorsFactory() |
String |
getMimeType()
Return the mime type defined for the endpoint, if any
|
MuleContext |
getMuleContext() |
String |
getName()
Gets the name of the object
|
Map |
getProperties()
Returns any properties set on this endpoint
|
Object |
getProperty(Object key)
Retrieves a property set on the endpoint
|
String |
getProtocol()
The transport protocol name that the message endpoint communicates over.
|
AbstractRedeliveryPolicy |
getRedeliveryPolicy()
Return the endpoint's redelivery policy, if any
|
List<MessageProcessor> |
getResponseMessageProcessors() |
int |
getResponseTimeout()
The timeout value for waiting for a response from a remote invocation or back channel.
|
List<Transformer> |
getResponseTransformers()
The transformers used when a response is returned from invoking this endpoint.
|
RetryPolicyTemplate |
getRetryPolicyTemplate()
The retry policy on the endpoint configures how retries are handled.
|
EndpointSecurityFilter |
getSecurityFilter()
Returns an EndpointSecurityFilter for this endpoint.
|
TransactionConfig |
getTransactionConfig()
Returns the transaction configuration for this endpoint
|
List<Transformer> |
getTransformers()
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).
|
int |
hashCode() |
boolean |
isDeleteUnacceptedMessages()
If a filter is configured on this endpoint, this property will determine if
message that are not excepted by the filter are deleted
|
boolean |
isDisableTransportTransformer() |
boolean |
isProtocolSupported(String protocol) |
boolean |
isReadOnly() |
MuleMessage |
request(long timeout)
Make a specific request to the underlying transport
|
void |
setEndpointURI(EndpointURI dynamicEndpointURI) |
void |
setFlowConstruct(FlowConstruct flowConstruct) |
void |
setListener(MessageProcessor listener)
Set the MessageProcessor listener on a message source which will be invoked
when a message is received or generated.
|
void |
start() |
void |
stop() |
protected InboundEndpoint endpoint
public DynamicURIInboundEndpoint(InboundEndpoint endpoint)
public DynamicURIInboundEndpoint(InboundEndpoint endpoint, EndpointURI dynamicEndpointURI)
public EndpointURI getEndpointURI()
ImmutableEndpointgetEndpointURI in interface ImmutableEndpointpublic String getAddress()
ImmutableEndpointgetAddress in interface ImmutableEndpointpublic void setEndpointURI(EndpointURI dynamicEndpointURI)
public RetryPolicyTemplate getRetryPolicyTemplate()
ImmutableEndpointgetRetryPolicyTemplate in interface ImmutableEndpointpublic AbstractRedeliveryPolicy getRedeliveryPolicy()
ImmutableEndpointgetRedeliveryPolicy in interface ImmutableEndpointpublic Connector getConnector()
ImmutableEndpointgetConnector in interface ImmutableEndpointpublic String getEncoding()
ImmutableEndpointgetEncoding in interface ImmutableEndpointpublic String getMimeType()
ImmutableEndpointgetMimeType in interface ImmutableEndpointpublic Filter getFilter()
ImmutableEndpointgetFilter in interface ImmutableEndpointpublic String getInitialState()
ImmutableEndpointgetInitialState in interface ImmutableEndpointpublic MuleContext getMuleContext()
getMuleContext in interface ImmutableEndpointpublic String getName()
NamedObjectgetName in interface NamedObjectpublic Map getProperties()
ImmutableEndpointgetProperties in interface ImmutableEndpointpublic Object getProperty(Object key)
ImmutableEndpointgetProperty in interface ImmutableEndpointkey - the name of the propertypublic String getProtocol()
ImmutableEndpointgetProtocol in interface ImmutableEndpointpublic int getResponseTimeout()
ImmutableEndpointgetResponseTimeout in interface ImmutableEndpointpublic List<Transformer> getResponseTransformers()
ImmutableEndpointgetResponseTransformers in interface ImmutableEndpointpublic EndpointMessageProcessorChainFactory getMessageProcessorsFactory()
getMessageProcessorsFactory in interface ImmutableEndpointpublic List<MessageProcessor> getMessageProcessors()
getMessageProcessors in interface ImmutableEndpointpublic List<MessageProcessor> getResponseMessageProcessors()
getResponseMessageProcessors in interface ImmutableEndpointpublic EndpointSecurityFilter getSecurityFilter()
ImmutableEndpointgetSecurityFilter in interface ImmutableEndpointEndpointSecurityFilterpublic TransactionConfig getTransactionConfig()
ImmutableEndpointgetTransactionConfig in interface ImmutableEndpointpublic List<Transformer> getTransformers()
ImmutableEndpointgetTransformers in interface ImmutableEndpointpublic boolean isDeleteUnacceptedMessages()
ImmutableEndpointisDeleteUnacceptedMessages in interface ImmutableEndpointpublic boolean isReadOnly()
isReadOnly in interface ImmutableEndpointpublic MessageExchangePattern getExchangePattern()
getExchangePattern in interface ImmutableEndpointpublic MuleMessage request(long timeout) throws Exception
MessageRequestingrequest in interface MessageRequestingtimeout - the maximum time the operation should block before returning.
The call should return immediately if there is data available. If
no data becomes available before the timeout elapses, null will be
returnedException - if the call to the underlying protocal causes an exceptionpublic String getEndpointBuilderName()
ImmutableEndpointgetEndpointBuilderName in interface ImmutableEndpointpublic boolean isProtocolSupported(String protocol)
isProtocolSupported in interface ImmutableEndpointpublic boolean isDisableTransportTransformer()
isDisableTransportTransformer in interface ImmutableEndpointpublic AbstractRedeliveryPolicy createDefaultRedeliveryPolicy(int maxRedelivery)
createDefaultRedeliveryPolicy in interface InboundEndpointpublic void start()
throws MuleException
start in interface StartableMuleExceptionpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct in interface FlowConstructAwarepublic void setListener(MessageProcessor listener)
MessageSourcesetListener in interface MessageSourceCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.