|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.endpoint.DynamicURIOutboundEndpoint
public class DynamicURIOutboundEndpoint
Allow's EndpointURI to be set and changed dynamically by wrapping up an immutable endpoint instance.
| Field Summary |
|---|
| Fields inherited from interface org.mule.api.endpoint.ImmutableEndpoint |
|---|
INITIAL_STATE_STARTED, INITIAL_STATE_STOPPED |
| Fields inherited from interface org.mule.api.transport.MessageDispatching |
|---|
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY |
| Constructor Summary | |
|---|---|
DynamicURIOutboundEndpoint(OutboundEndpoint endpoint)
|
|
DynamicURIOutboundEndpoint(OutboundEndpoint endpoint,
EndpointURI dynamicEndpointURI)
|
|
| Method Summary | |
|---|---|
void |
dispatch(MuleEvent event)
Dispatches an event from the endpoint to the external system |
boolean |
equals(Object obj)
|
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. |
Filter |
getFilter()
The filter to apply to incoming messages. |
String |
getInitialState()
Sets the state the endpoint will be loaded in. |
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<String> |
getResponseProperties()
|
int |
getResponseTimeout()
The timeout value for waiting for a response from a remote invocation or back channel. |
List |
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 |
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 |
isReadOnly()
|
boolean |
isSynchronous()
Determines if requests originating from this endpoint should be synchronous i.e. |
MuleMessage |
send(MuleEvent event)
Sends an event from the endpoint to the external system |
void |
setEndpointURI(EndpointURI dynamicEndpointURI)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicURIOutboundEndpoint(OutboundEndpoint endpoint)
public DynamicURIOutboundEndpoint(OutboundEndpoint endpoint,
EndpointURI dynamicEndpointURI)
| Method Detail |
|---|
public EndpointURI getEndpointURI()
ImmutableEndpoint
getEndpointURI in interface ImmutableEndpointpublic void setEndpointURI(EndpointURI dynamicEndpointURI)
public void dispatch(MuleEvent event)
throws DispatchException
MessageDispatching
dispatch in interface MessageDispatchingevent - The event to dispatch
DispatchException - if the event fails to be dispatchedpublic RetryPolicyTemplate getRetryPolicyTemplate()
ImmutableEndpoint
getRetryPolicyTemplate in interface ImmutableEndpointpublic Connector getConnector()
ImmutableEndpoint
getConnector in interface ImmutableEndpointpublic String getEncoding()
ImmutableEndpoint
getEncoding in interface ImmutableEndpointpublic Filter getFilter()
ImmutableEndpoint
getFilter in interface ImmutableEndpointpublic String getInitialState()
ImmutableEndpoint
getInitialState in interface ImmutableEndpointpublic MuleContext getMuleContext()
getMuleContext in interface ImmutableEndpointpublic String getName()
ImmutableEndpoint
getName in interface ImmutableEndpointpublic Map getProperties()
ImmutableEndpoint
getProperties in interface ImmutableEndpointpublic Object getProperty(Object key)
ImmutableEndpoint
getProperty in interface ImmutableEndpointkey - the name of the property
public String getProtocol()
ImmutableEndpoint
getProtocol in interface ImmutableEndpointpublic int getResponseTimeout()
ImmutableEndpointImmutableEndpoint.isSynchronous() flag is set to true.
getResponseTimeout in interface ImmutableEndpointpublic List getResponseTransformers()
ImmutableEndpoint
getResponseTransformers in interface ImmutableEndpointpublic EndpointSecurityFilter getSecurityFilter()
ImmutableEndpoint
getSecurityFilter in interface ImmutableEndpointEndpointSecurityFilterpublic TransactionConfig getTransactionConfig()
ImmutableEndpoint
getTransactionConfig in interface ImmutableEndpointpublic List getTransformers()
ImmutableEndpoint
getTransformers in interface ImmutableEndpointpublic boolean isDeleteUnacceptedMessages()
ImmutableEndpoint
isDeleteUnacceptedMessages in interface ImmutableEndpointpublic boolean isReadOnly()
isReadOnly in interface ImmutableEndpointpublic boolean isSynchronous()
ImmutableEndpoint
isSynchronous in interface ImmutableEndpointpublic List<String> getResponseProperties()
getResponseProperties in interface OutboundEndpoint
public MuleMessage send(MuleEvent event)
throws DispatchException
MessageDispatching
send in interface MessageDispatchingevent - The event to send
DispatchException - if the event fails to be dispatchedpublic String getEndpointBuilderName()
ImmutableEndpoint
getEndpointBuilderName in interface ImmutableEndpointpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||