|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.endpoint.DynamicURIInboundEndpoint
public class DynamicURIInboundEndpoint
Allow's EndpointURI to be set and changed dynamically by wrapping up an immutable endpoint instance.
Field Summary | |
---|---|
protected InboundEndpoint |
endpoint
|
Fields inherited from interface org.mule.api.endpoint.ImmutableEndpoint |
---|
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED |
Fields inherited from interface org.mule.api.transport.MessageRequesting |
---|
REQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
DynamicURIInboundEndpoint(InboundEndpoint endpoint)
|
|
DynamicURIInboundEndpoint(InboundEndpoint endpoint,
EndpointURI dynamicEndpointURI)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected InboundEndpoint endpoint
Constructor Detail |
---|
public DynamicURIInboundEndpoint(InboundEndpoint endpoint)
public DynamicURIInboundEndpoint(InboundEndpoint endpoint, EndpointURI dynamicEndpointURI)
Method Detail |
---|
public EndpointURI getEndpointURI()
ImmutableEndpoint
getEndpointURI
in interface ImmutableEndpoint
public String getAddress()
ImmutableEndpoint
getAddress
in interface ImmutableEndpoint
public void setEndpointURI(EndpointURI dynamicEndpointURI)
public RetryPolicyTemplate getRetryPolicyTemplate()
ImmutableEndpoint
getRetryPolicyTemplate
in interface ImmutableEndpoint
public AbstractRedeliveryPolicy getRedeliveryPolicy()
ImmutableEndpoint
getRedeliveryPolicy
in interface ImmutableEndpoint
public Connector getConnector()
ImmutableEndpoint
getConnector
in interface ImmutableEndpoint
public String getEncoding()
ImmutableEndpoint
getEncoding
in interface ImmutableEndpoint
public String getMimeType()
ImmutableEndpoint
getMimeType
in interface ImmutableEndpoint
public Filter getFilter()
ImmutableEndpoint
getFilter
in interface ImmutableEndpoint
public String getInitialState()
ImmutableEndpoint
getInitialState
in interface ImmutableEndpoint
public MuleContext getMuleContext()
getMuleContext
in interface ImmutableEndpoint
public String getName()
NamedObject
getName
in interface NamedObject
public Map getProperties()
ImmutableEndpoint
getProperties
in interface ImmutableEndpoint
public Object getProperty(Object key)
ImmutableEndpoint
getProperty
in interface ImmutableEndpoint
key
- the name of the property
public String getProtocol()
ImmutableEndpoint
getProtocol
in interface ImmutableEndpoint
public int getResponseTimeout()
ImmutableEndpoint
getResponseTimeout
in interface ImmutableEndpoint
public List<Transformer> getResponseTransformers()
ImmutableEndpoint
getResponseTransformers
in interface ImmutableEndpoint
public EndpointMessageProcessorChainFactory getMessageProcessorsFactory()
getMessageProcessorsFactory
in interface ImmutableEndpoint
public List<MessageProcessor> getMessageProcessors()
getMessageProcessors
in interface ImmutableEndpoint
public List<MessageProcessor> getResponseMessageProcessors()
getResponseMessageProcessors
in interface ImmutableEndpoint
public EndpointSecurityFilter getSecurityFilter()
ImmutableEndpoint
getSecurityFilter
in interface ImmutableEndpoint
EndpointSecurityFilter
public TransactionConfig getTransactionConfig()
ImmutableEndpoint
getTransactionConfig
in interface ImmutableEndpoint
public List<Transformer> getTransformers()
ImmutableEndpoint
getTransformers
in interface ImmutableEndpoint
public boolean isDeleteUnacceptedMessages()
ImmutableEndpoint
isDeleteUnacceptedMessages
in interface ImmutableEndpoint
public boolean isReadOnly()
isReadOnly
in interface ImmutableEndpoint
public MessageExchangePattern getExchangePattern()
getExchangePattern
in interface ImmutableEndpoint
public MuleMessage request(long timeout) throws Exception
MessageRequesting
request
in interface MessageRequesting
timeout
- 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
returned
Exception
- if the call to the underlying protocal causes an exceptionpublic String getEndpointBuilderName()
ImmutableEndpoint
getEndpointBuilderName
in interface ImmutableEndpoint
public boolean isProtocolSupported(String protocol)
isProtocolSupported
in interface ImmutableEndpoint
public boolean isDisableTransportTransformer()
isDisableTransportTransformer
in interface ImmutableEndpoint
public AbstractRedeliveryPolicy createDefaultRedeliveryPolicy(int maxRedelivery)
createDefaultRedeliveryPolicy
in interface InboundEndpoint
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public void start() throws MuleException
start
in interface Startable
MuleException
public void stop() throws MuleException
stop
in interface Stoppable
MuleException
public void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct
in interface FlowConstructAware
public void setListener(MessageProcessor listener)
MessageSource
setListener
in interface MessageSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |