|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.endpoint.DynamicURIInboundEndpoint
public class DynamicURIInboundEndpoint
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.MessageRequesting |
---|
REQUEST_NO_WAIT, REQUEST_WAIT_INDEFINITELY |
Constructor Summary | |
---|---|
DynamicURIInboundEndpoint(InboundEndpoint endpoint)
|
|
DynamicURIInboundEndpoint(InboundEndpoint endpoint,
EndpointURI dynamicEndpointURI)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
ConnectionStrategy |
getConnectionStrategy()
Returns the connection strategy this endpoint should use when connecting to the underlying resource |
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 |
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. |
int |
getRemoteSyncTimeout()
The timeout value for remoteSync invocations |
List |
getResponseTransformers()
The transformers used when a response is returned from invoking this endpoint. |
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 UMO (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 |
isRemoteSync()
For certain providers that support the notion of a backchannel such as sockets (outputStream) or Jms (ReplyTo) Mule can automatically wait for a response from a backchannel when dispatching over these protocols. |
boolean |
isSynchronous()
Determines if requests originating from this endpoint should be synchronous i.e. |
MuleMessage |
request(long timeout)
Make a specific request to the underlying transport |
void |
setEndpointURI(EndpointURI dynamicEndpointURI)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicURIInboundEndpoint(InboundEndpoint endpoint)
public DynamicURIInboundEndpoint(InboundEndpoint endpoint, EndpointURI dynamicEndpointURI)
Method Detail |
---|
public EndpointURI getEndpointURI()
ImmutableEndpoint
getEndpointURI
in interface ImmutableEndpoint
public void setEndpointURI(EndpointURI dynamicEndpointURI)
public ConnectionStrategy getConnectionStrategy()
ImmutableEndpoint
getConnectionStrategy
in interface ImmutableEndpoint
public Connector getConnector()
ImmutableEndpoint
getConnector
in interface ImmutableEndpoint
public String getEncoding()
ImmutableEndpoint
getEncoding
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()
ImmutableEndpoint
getName
in interface ImmutableEndpoint
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 getRemoteSyncTimeout()
ImmutableEndpoint
getRemoteSyncTimeout
in interface ImmutableEndpoint
public List getResponseTransformers()
ImmutableEndpoint
getResponseTransformers
in interface ImmutableEndpoint
public EndpointSecurityFilter getSecurityFilter()
ImmutableEndpoint
getSecurityFilter
in interface ImmutableEndpoint
EndpointSecurityFilter
public TransactionConfig getTransactionConfig()
ImmutableEndpoint
getTransactionConfig
in interface ImmutableEndpoint
public List getTransformers()
ImmutableEndpoint
getTransformers
in interface ImmutableEndpoint
public boolean isDeleteUnacceptedMessages()
ImmutableEndpoint
isDeleteUnacceptedMessages
in interface ImmutableEndpoint
public boolean isReadOnly()
isReadOnly
in interface ImmutableEndpoint
public boolean isRemoteSync()
ImmutableEndpoint
isRemoteSync
in interface ImmutableEndpoint
public boolean isSynchronous()
ImmutableEndpoint
isSynchronous
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |