|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.endpoint.AbstractEndpoint
public abstract class AbstractEndpoint
ImmutableMuleEndpoint describes a Provider in the Mule Server. A
endpoint is a grouping of an endpoint, an endpointUri and a transformer.
| Field Summary | |
|---|---|
protected static Log |
logger
logger used by this class |
static String |
PROPERTY_PROCESS_SYNCHRONOUSLY
|
protected RetryPolicyTemplate |
retryPolicyTemplate
|
| Fields inherited from interface org.mule.api.endpoint.ImmutableEndpoint |
|---|
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
AbstractEndpoint(Connector connector,
EndpointURI endpointUri,
String name,
Map properties,
TransactionConfig transactionConfig,
boolean deleteUnacceptedMessages,
MessageExchangePattern messageExchangePattern,
int responseTimeout,
String initialState,
String endpointEncoding,
String endpointBuilderName,
MuleContext muleContext,
RetryPolicyTemplate retryPolicyTemplate,
EndpointMessageProcessorChainFactory messageProcessorsFactory,
List<MessageProcessor> messageProcessors,
List<MessageProcessor> responseMessageProcessors,
boolean disableTransportTransformer,
String endpointMimeType)
|
|
| Method Summary | |
|---|---|
protected abstract MessageProcessor |
createMessageProcessorChain(FlowConstruct flowContruct)
|
void |
dispose()
A lifecycle method where implementor should free up any resources. |
protected static boolean |
equal(Object a,
Object b)
|
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. |
MessageProcessor |
getMessageProcessorChain(FlowConstruct flowContruct)
|
List<MessageProcessor> |
getMessageProcessors()
|
EndpointMessageProcessorChainFactory |
getMessageProcessorsFactory()
|
String |
getMimeType()
Return the mime type defined for the endpoint, if any |
MuleContext |
getMuleContext()
|
String |
getName()
The name is the identifier for the endpoint |
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. |
List<MessageProcessor> |
getResponseMessageProcessors()
|
int |
getResponseTimeout()
The timeout value for remoteSync invocations |
List<Transformer> |
getResponseTransformers()
Deprecated. use getResponseMessageProcessors() |
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()
Deprecated. use getMessageProcessors() |
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()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_PROCESS_SYNCHRONOUSLY
protected static final Log logger
protected RetryPolicyTemplate retryPolicyTemplate
| Constructor Detail |
|---|
public AbstractEndpoint(Connector connector,
EndpointURI endpointUri,
String name,
Map properties,
TransactionConfig transactionConfig,
boolean deleteUnacceptedMessages,
MessageExchangePattern messageExchangePattern,
int responseTimeout,
String initialState,
String endpointEncoding,
String endpointBuilderName,
MuleContext muleContext,
RetryPolicyTemplate retryPolicyTemplate,
EndpointMessageProcessorChainFactory messageProcessorsFactory,
List<MessageProcessor> messageProcessors,
List<MessageProcessor> responseMessageProcessors,
boolean disableTransportTransformer,
String endpointMimeType)
| Method Detail |
|---|
public EndpointURI getEndpointURI()
ImmutableEndpoint
getEndpointURI in interface ImmutableEndpointpublic String getAddress()
ImmutableEndpoint
getAddress in interface ImmutableEndpointpublic String getEncoding()
ImmutableEndpoint
getEncoding in interface ImmutableEndpointpublic String getMimeType()
ImmutableEndpoint
getMimeType in interface ImmutableEndpointpublic Connector getConnector()
ImmutableEndpoint
getConnector in interface ImmutableEndpointpublic String getName()
ImmutableEndpoint
getName in interface ImmutableEndpointpublic EndpointMessageProcessorChainFactory getMessageProcessorsFactory()
getMessageProcessorsFactory in interface ImmutableEndpointpublic List<MessageProcessor> getMessageProcessors()
getMessageProcessors in interface ImmutableEndpointpublic List<MessageProcessor> getResponseMessageProcessors()
getResponseMessageProcessors in interface ImmutableEndpointpublic List<Transformer> getTransformers()
ImmutableEndpoint
getTransformers in interface ImmutableEndpointpublic Map getProperties()
ImmutableEndpoint
getProperties in interface ImmutableEndpointpublic boolean isReadOnly()
isReadOnly in interface ImmutableEndpointpublic String toString()
toString in class Objectpublic String getProtocol()
ImmutableEndpoint
getProtocol in interface ImmutableEndpointpublic TransactionConfig getTransactionConfig()
ImmutableEndpoint
getTransactionConfig in interface ImmutableEndpoint
protected static boolean equal(Object a,
Object b)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Filter getFilter()
ImmutableEndpoint
getFilter in interface ImmutableEndpointpublic boolean isDeleteUnacceptedMessages()
ImmutableEndpoint
isDeleteUnacceptedMessages in interface ImmutableEndpointpublic EndpointSecurityFilter getSecurityFilter()
getSecurityFilter in interface ImmutableEndpointEndpointSecurityFilterpublic MessageExchangePattern getExchangePattern()
getExchangePattern in interface ImmutableEndpointpublic int getResponseTimeout()
getResponseTimeout in interface ImmutableEndpointpublic String getInitialState()
getInitialState in interface ImmutableEndpointpublic List<Transformer> getResponseTransformers()
ImmutableEndpoint
getResponseTransformers in interface ImmutableEndpointpublic Object getProperty(Object key)
ImmutableEndpoint
getProperty in interface ImmutableEndpointkey - the name of the property
public MuleContext getMuleContext()
getMuleContext in interface ImmutableEndpointpublic RetryPolicyTemplate getRetryPolicyTemplate()
ImmutableEndpoint
getRetryPolicyTemplate in interface ImmutableEndpointpublic String getEndpointBuilderName()
ImmutableEndpoint
getEndpointBuilderName in interface ImmutableEndpointpublic boolean isProtocolSupported(String protocol)
isProtocolSupported in interface ImmutableEndpointpublic boolean isDisableTransportTransformer()
isDisableTransportTransformer in interface ImmutableEndpointpublic void dispose()
Disposable
dispose in interface Disposable
public MessageProcessor getMessageProcessorChain(FlowConstruct flowContruct)
throws MuleException
MuleException
protected abstract MessageProcessor createMessageProcessorChain(FlowConstruct flowContruct)
throws MuleException
MuleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||