|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.providers.AbstractConnector
public abstract class AbstractConnector
AbstractConnector
provides base functionality for all connectors
provided with Mule. Connectors are the mechanism used to connect to external
systems and protocols in order to send and receive data.
AbstractConnector
provides getter and setter methods for endpoint
name, transport name and protocol. It also provides methods to stop and start
connecotors and sets up a dispatcher threadpool which allows deriving connectors
the possibility to dispatch work to separate threads. This functionality is
controlled with the doThreading property on the threadingProfiles for
dispachers and receivers. The lifecycle for a connector is -
Field Summary | |
---|---|
protected WaitableBoolean |
connected
|
protected WaitableBoolean |
connecting
|
protected ConnectionStrategy |
connectionStrategy
|
protected boolean |
createMultipleTransactedReceivers
|
static int |
DEFAULT_NUM_CONCURRENT_TX_RECEIVERS
Default number of concurrent transactional receivers. |
protected UMOTransformer |
defaultInboundTransformer
The service descriptor can define a default inbound transformer to be used on an endpoint if no other is set |
protected UMOTransformer |
defaultOutboundTransformer
The service descriptor can define a default outbound transformer to be used on an endpoint if no other is set |
protected UMOTransformer |
defaultResponseTransformer
For some connectors such as http, a response transformer is required or where a replyTo needs a trnasformer |
protected UMOMessageDispatcherFactory |
dispatcherFactory
Factory used to create dispatchers for this connector |
protected GenericKeyedObjectPool |
dispatchers
A pool of dispatchers for this connector, keyed by endpoint |
protected AtomicBoolean |
disposed
Determines in the connector is alive and well |
protected AtomicBoolean |
disposing
Determines in connector has been told to dispose |
protected ExceptionListener |
exceptionListener
The exception strategy used by this connector |
protected AtomicBoolean |
initialised
True once the endpoint has been initialsed |
protected Log |
logger
logger used by this class |
protected String |
name
The name that identifies the endpoint |
protected int |
numberOfConcurrentTransactedReceivers
|
protected ConcurrentMap |
receivers
The collection of listeners on this connector. |
protected TransportServiceDescriptor |
serviceDescriptor
Holds the service configuration for this connector |
protected Properties |
serviceOverrides
The map of service overrides that can e used to extend the capabilities of the connector |
protected UMOSessionHandler |
sessionHandler
The strategy used for reading and writing session information to and fromt he transport |
protected AtomicBoolean |
started
Specifies if the endpoint started |
protected WaitableBoolean |
startOnConnect
If the connect method was called via the start method, this will be set so that when the connector comes on line it will be started |
Fields inherited from interface org.mule.umo.provider.UMOConnector |
---|
INT_VALUE_NOT_SET |
Constructor Summary | |
---|---|
AbstractConnector()
Constructs a new AbstractConnector. |
Method Summary | |
---|---|
protected void |
checkDisposed()
|
void |
connect()
Make the connection to the underlying transport. |
protected UMOMessageReceiver |
createReceiver(UMOComponent component,
UMOEndpoint endpoint)
Create a Message receiver for this connector |
protected void |
destroyReceiver(UMOMessageReceiver receiver,
UMOEndpoint endpoint)
|
void |
disconnect()
Disconnect the from the underlying transport |
void |
dispatch(UMOImmutableEndpoint endpoint,
UMOEvent event)
Dispatches an event from the endpoint to the external system |
void |
dispose()
A lifecycle method where implementor should free up any resources. |
protected void |
disposeDispatchers()
|
protected void |
disposeReceivers()
|
protected void |
disposeWorkManagers()
|
protected abstract void |
doConnect()
Template method where any connections should be made for the connector |
protected abstract void |
doDisconnect()
Template method where any connected resources used by the connector should be disconnected |
protected abstract void |
doDispose()
Template method to perform any work when destroying the connectoe |
protected abstract void |
doInitialise()
|
protected abstract void |
doStart()
Template method to perform any work when starting the connectoe |
protected abstract void |
doStop()
Template method to perform any work when stopping the connectoe |
void |
exceptionThrown(Exception e)
|
void |
fireNotification(UMOServerNotification notification)
Fires a server notification to all registered CustomNotificationListener
eventManager. |
protected String |
getConnectEventId()
The resource id used when firing ConnectEvents from this connector |
String |
getConnectionDescription()
Returns a string identifying the underlying resource |
ConnectionStrategy |
getConnectionStrategy()
Getter for property 'connectionStrategy'. |
UMOTransformer |
getDefaultInboundTransformer()
Getter for property 'defaultInboundTransformer'. |
UMOTransformer |
getDefaultOutboundTransformer()
Getter for property 'defaultOutboundTransformer'. |
UMOTransformer |
getDefaultResponseTransformer()
Getter for property 'defaultResponseTransformer'. |
UMOMessageDispatcherFactory |
getDispatcherFactory()
The dispatcher factory is used to create a message dispatcher of the current request |
ThreadingProfile |
getDispatcherThreadingProfile()
Getter for property 'dispatcherThreadingProfile'. |
protected UMOWorkManager |
getDispatcherWorkManager()
Returns a work manager for message dispatchers. |
ExceptionListener |
getExceptionListener()
|
int |
getMaxDispatchersActive()
Returns the maximum number of dispatchers that can be concurrently active per endpoint. |
UMOMessageAdapter |
getMessageAdapter(Object message)
Gets a UMOMessageAdapter for the endpoint for the given message
(data) |
String |
getName()
|
int |
getNumberOfConcurrentTransactedReceivers()
Returns the number of concurrent receivers that will be launched when isCreateMultipleTransactedReceivers() returns true . |
OutputStream |
getOutputStream(UMOImmutableEndpoint endpoint,
UMOMessage message)
Will get the output stream for this type of transport. |
UMOMessageReceiver |
getReceiver(UMOComponent component,
UMOEndpoint endpoint)
|
protected Object |
getReceiverKey(UMOComponent component,
UMOEndpoint endpoint)
The method determines the key used to store the receiver against. |
Map |
getReceivers()
Getter for property 'receivers'. |
UMOMessageReceiver[] |
getReceivers(String wildcardExpression)
|
ThreadingProfile |
getReceiverThreadingProfile()
Getter for property 'receiverThreadingProfile'. |
protected UMOWorkManager |
getReceiverWorkManager(String receiverName)
Returns a work manager for message receivers. |
ReplyToHandler |
getReplyToHandler()
Getter for property 'replyToHandler'. |
ScheduledExecutorService |
getScheduler()
Returns a Scheduler service for execution of periodic tasks. |
protected TransportServiceDescriptor |
getServiceDescriptor()
Get the TransportServiceDescriptor for this connector. |
Map |
getServiceOverrides()
A map of fully qualified class names that should override those in the connectors' service descriptor This map will be null if there are no overrides |
UMOSessionHandler |
getSessionHandler()
Getter for property 'sessionHandler'. |
UMOStreamMessageAdapter |
getStreamMessageAdapter(InputStream in,
OutputStream out)
Gets a UMOStreamMessageAdapter from the connector for the given
message. |
List |
getSupportedProtocols()
Returns an unmodifiable list of the protocols supported by this connector |
void |
handleException(Exception exception)
|
protected void |
handleWorkException(javax.resource.spi.work.WorkEvent event,
String type)
|
protected void |
initFromServiceDescriptor()
Initialises this connector from its TransportServiceDescriptor This
will be called before the doInitialise() method is called. |
void |
initialise()
Method used to perform any initialisation work. |
void |
initialiseFromUrl(UMOEndpointURI endpointUri)
When this connector is created via the TransportFactory the endpoint used to
determine the connector type is passed to this method so that any properties
set on the endpoint that can be used to initialise the connector are made
available. |
boolean |
isConnected()
Determines if this object is connected or not |
boolean |
isCreateMultipleTransactedReceivers()
For better throughput when using TransactedMessageReceivers this will enable a number of concurrent receivers, based on the value returned by getNumberOfConcurrentTransactedReceivers() . |
boolean |
isDisposed()
|
boolean |
isDisposing()
|
boolean |
isEnableMessageEvents()
Whether to fire message notifications for every message that is sent or received from this connector |
boolean |
isRemoteSyncEnabled()
|
boolean |
isStarted()
|
UMOMessageReceiver |
lookupReceiver(String key)
|
UMOMessage |
receive(UMOEndpointURI endpointUri,
long timeout)
Make a specific request to the underlying transport |
UMOMessage |
receive(UMOImmutableEndpoint endpoint,
long timeout)
Make a specific request to the underlying transport |
UMOMessageReceiver |
registerListener(UMOComponent component,
UMOEndpoint endpoint)
This creates a UMOMessageReceiver associated with this endpoint
and registers it with the connector. |
void |
registerSupportedProtocol(String protocol)
Registers other protocols 'understood' by this connector. |
protected void |
registerSupportedProtocolWithoutPrefix(String protocol)
Registers other protocols 'understood' by this connector. |
UMOMessage |
send(UMOImmutableEndpoint endpoint,
UMOEvent event)
Sends an event from the endpoint to the external system |
void |
setConnectionStrategy(ConnectionStrategy connectionStrategy)
Setter for property 'connectionStrategy'. |
void |
setCreateMultipleTransactedReceivers(boolean createMultipleTransactedReceivers)
|
void |
setDefaultInboundTransformer(UMOTransformer defaultInboundTransformer)
Setter for property 'defaultInboundTransformer'. |
void |
setDefaultOutboundTransformer(UMOTransformer defaultOutboundTransformer)
Setter for property 'defaultOutboundTransformer'. |
void |
setDefaultResponseTransformer(UMOTransformer defaultResponseTransformer)
Setter for property 'defaultResponseTransformer'. |
void |
setDispatcherFactory(UMOMessageDispatcherFactory dispatcherFactory)
The dispatcher factory is used to create a message dispatcher of the current request |
void |
setDispatcherThreadingProfile(ThreadingProfile dispatcherThreadingProfile)
Setter for property 'dispatcherThreadingProfile'. |
void |
setEnableMessageEvents(boolean enableMessageEvents)
Whether to fire message notifications for every message that is sent or received from this connector |
void |
setExceptionListener(ExceptionListener listener)
|
void |
setMaxDispatchersActive(int maxActive)
Configures the maximum number of dispatchers that can be concurrently active per endpoint |
void |
setName(String newName)
|
void |
setNumberOfConcurrentTransactedReceivers(int count)
|
void |
setReceiverThreadingProfile(ThreadingProfile receiverThreadingProfile)
Setter for property 'receiverThreadingProfile'. |
void |
setServiceOverrides(Map serviceOverrides)
Set the Service overrides on this connector. |
void |
setSessionHandler(UMOSessionHandler sessionHandler)
Setter for property 'sessionHandler'. |
void |
setSupportedProtocols(List supportedProtocols)
Sets A list of protocols that the connector can accept |
void |
startConnector()
|
void |
stopConnector()
|
boolean |
supportsProtocol(String protocol)
|
String |
toString()
|
void |
unregisterListener(UMOComponent component,
UMOEndpoint endpoint)
|
void |
unregisterSupportedProtocol(String protocol)
|
void |
workAccepted(javax.resource.spi.work.WorkEvent event)
|
void |
workCompleted(javax.resource.spi.work.WorkEvent event)
|
void |
workRejected(javax.resource.spi.work.WorkEvent event)
|
void |
workStarted(javax.resource.spi.work.WorkEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mule.umo.provider.UMOConnector |
---|
getProtocol |
Field Detail |
---|
public static final int DEFAULT_NUM_CONCURRENT_TX_RECEIVERS
protected final Log logger
protected final AtomicBoolean started
protected final AtomicBoolean initialised
protected volatile String name
protected volatile ExceptionListener exceptionListener
protected final AtomicBoolean disposed
protected final AtomicBoolean disposing
protected volatile UMOMessageDispatcherFactory dispatcherFactory
protected final GenericKeyedObjectPool dispatchers
protected final ConcurrentMap receivers
protected volatile boolean createMultipleTransactedReceivers
#isCreateMultipleTransactedReceivers()}
protected volatile int numberOfConcurrentTransactedReceivers
#getNumberOfConcurrentTransactedReceivers()}
protected volatile UMOTransformer defaultInboundTransformer
protected volatile UMOTransformer defaultOutboundTransformer
protected volatile UMOTransformer defaultResponseTransformer
protected volatile ConnectionStrategy connectionStrategy
protected final WaitableBoolean connected
protected final WaitableBoolean connecting
protected final WaitableBoolean startOnConnect
protected volatile TransportServiceDescriptor serviceDescriptor
protected volatile Properties serviceOverrides
protected volatile UMOSessionHandler sessionHandler
Constructor Detail |
---|
public AbstractConnector()
Method Detail |
---|
public String getName()
getName
in interface UMOConnector
public void setName(String newName)
setName
in interface UMOConnector
newName
- the name to associate with the connectorpublic final void initialise() throws InitialisationException
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule
instance to shutdown
RecoverableException
- if an error occurs that can be recovered frompublic final void startConnector() throws UMOException
startConnector
in interface UMOConnector
UMOException
public boolean isStarted()
isStarted
in interface UMOConnector
public final void stopConnector() throws UMOException
stopConnector
in interface UMOConnector
UMOException
public final void dispose()
dispose
in interface Disposable
protected void disposeWorkManagers()
protected void disposeReceivers()
protected void disposeDispatchers()
public boolean isDisposed()
isDisposed
in interface UMOConnector
public void handleException(Exception exception)
handleException
in interface UMOConnector
exception
- the exception that was caughtpublic void exceptionThrown(Exception e)
exceptionThrown
in interface ExceptionListener
public ExceptionListener getExceptionListener()
getExceptionListener
in interface UMOConnector
ExceptionListener
public void setExceptionListener(ExceptionListener listener)
setExceptionListener
in interface UMOConnector
listener
- the ExceptionStrategy to use with this endpointExceptionListener
public UMOMessageDispatcherFactory getDispatcherFactory()
UMOConnector
getDispatcherFactory
in interface UMOConnector
public void setDispatcherFactory(UMOMessageDispatcherFactory dispatcherFactory)
UMOConnector
setDispatcherFactory
in interface UMOConnector
dispatcherFactory
- The dispatcherFactory to set.public int getMaxDispatchersActive()
public void setMaxDispatchersActive(int maxActive)
maxActive
- max. number of active dispatchersprotected void checkDisposed() throws DisposeException
DisposeException
public UMOMessageReceiver registerListener(UMOComponent component, UMOEndpoint endpoint) throws Exception
UMOMessageReceiver
associated with this endpoint
and registers it with the connector.
registerListener
in interface UMOConnector
component
- the listening componentendpoint
- the endpoint contains the listener endpointUri on which to
listen on.
Exception
- if the UMOMessageReceiver cannot be created or the Receiver
cannot be registeredprotected Object getReceiverKey(UMOComponent component, UMOEndpoint endpoint)
component
- the component for which the endpoint is being registeredendpoint
- the endpoint being registered for the component
public final void unregisterListener(UMOComponent component, UMOEndpoint endpoint) throws Exception
unregisterListener
in interface UMOConnector
component
- the listening componentendpoint
- the associated endpointDescriptor with the listener
Exception
- if the listener cannot be unregistered. If a listener is not
associated with the given endpoint this will not throw an
exceptionpublic ThreadingProfile getDispatcherThreadingProfile()
public void setDispatcherThreadingProfile(ThreadingProfile dispatcherThreadingProfile)
dispatcherThreadingProfile
- Value to set for property
'dispatcherThreadingProfile'.public ThreadingProfile getReceiverThreadingProfile()
public void setReceiverThreadingProfile(ThreadingProfile receiverThreadingProfile)
receiverThreadingProfile
- Value to set for property
'receiverThreadingProfile'.protected void destroyReceiver(UMOMessageReceiver receiver, UMOEndpoint endpoint) throws Exception
Exception
protected abstract void doInitialise() throws InitialisationException
InitialisationException
protected abstract void doDispose()
protected abstract void doStart() throws UMOException
UMOException
- if the method failsprotected abstract void doStop() throws UMOException
UMOException
- if the method failspublic UMOTransformer getDefaultInboundTransformer()
public void setDefaultInboundTransformer(UMOTransformer defaultInboundTransformer)
defaultInboundTransformer
- Value to set for property
'defaultInboundTransformer'.public UMOTransformer getDefaultResponseTransformer()
public UMOTransformer getDefaultOutboundTransformer()
public void setDefaultOutboundTransformer(UMOTransformer defaultOutboundTransformer)
defaultOutboundTransformer
- Value to set for property
'defaultOutboundTransformer'.public void setDefaultResponseTransformer(UMOTransformer defaultResponseTransformer)
defaultResponseTransformer
- Value to set for property
'defaultResponseTransformer'.public ReplyToHandler getReplyToHandler()
public void fireNotification(UMOServerNotification notification)
CustomNotificationListener
eventManager.
notification
- the notification to fire. This must be of type
CustomNotification
otherwise an exception will be thrown.
UnsupportedOperationException
- if the notification fired is not a
CustomNotification
public ConnectionStrategy getConnectionStrategy()
public void setConnectionStrategy(ConnectionStrategy connectionStrategy)
connectionStrategy
- Value to set for property 'connectionStrategy'.public boolean isDisposing()
isDisposing
in interface UMOConnector
public boolean isRemoteSyncEnabled()
isRemoteSyncEnabled
in interface UMOConnector
public UMOMessageReceiver getReceiver(UMOComponent component, UMOEndpoint endpoint)
public Map getReceivers()
public UMOMessageReceiver lookupReceiver(String key)
public UMOMessageReceiver[] getReceivers(String wildcardExpression)
public void connect() throws Exception
connect
in interface UMOConnectable
Exception
public void disconnect() throws Exception
disconnect
in interface UMOConnectable
Exception
public String getConnectionDescription()
getConnectionDescription
in interface UMOConnectable
public final boolean isConnected()
isConnected
in interface UMOConnectable
protected abstract void doConnect() throws Exception
Exception
protected abstract void doDisconnect() throws Exception
Exception
protected String getConnectEventId()
public boolean isCreateMultipleTransactedReceivers()
getNumberOfConcurrentTransactedReceivers()
. This property is used by
transports that support transactions, specifically receivers that extend the
TransactedPollingMessageReceiver.
public void setCreateMultipleTransactedReceivers(boolean createMultipleTransactedReceivers)
createMultipleTransactedReceivers
- if true, multiple receivers will be
created for this connection#isCreateMultipleTransactedReceivers()}
public int getNumberOfConcurrentTransactedReceivers()
isCreateMultipleTransactedReceivers()
returns true
.
DEFAULT_NUM_CONCURRENT_TX_RECEIVERS
public void setNumberOfConcurrentTransactedReceivers(int count)
count
- the number of concurrent transacted receivers to start#getNumberOfConcurrentTransactedReceivers()}
public boolean isEnableMessageEvents()
public void setEnableMessageEvents(boolean enableMessageEvents)
enableMessageEvents
- public void registerSupportedProtocol(String protocol)
protocol
- the supported protocol to registerprotected void registerSupportedProtocolWithoutPrefix(String protocol)
registerSupportedProtocol(String)
method,
this allows you to register protocols that are not prefixed with the connector
protocol. This is useful where you use a Service Finder to discover which
Transport implementation to use. For example the 'wsdl' transport is a generic
'finder' transport that will use Axis, Xfire or Glue to create the WSDL
client. These transport protocols would be wsdl-axis, wsdl-xfire and
wsdl-glue, but they can all support 'wsdl' protocol too.
protocol
- the supported protocol to registerpublic void unregisterSupportedProtocol(String protocol)
public boolean supportsProtocol(String protocol)
supportsProtocol
in interface UMOConnector
protocol
- protocol name
public List getSupportedProtocols()
public void setSupportedProtocols(List supportedProtocols)
supportedProtocols
- protected UMOWorkManager getReceiverWorkManager(String receiverName) throws UMOException
UMOException
protected UMOWorkManager getDispatcherWorkManager() throws UMOException
UMOException
- in case of errorpublic ScheduledExecutorService getScheduler()
getScheduler
in interface UMOConnector
public UMOSessionHandler getSessionHandler()
public void setSessionHandler(UMOSessionHandler sessionHandler)
sessionHandler
- Value to set for property 'sessionHandler'.public void workAccepted(javax.resource.spi.work.WorkEvent event)
workAccepted
in interface javax.resource.spi.work.WorkListener
public void workRejected(javax.resource.spi.work.WorkEvent event)
workRejected
in interface javax.resource.spi.work.WorkListener
public void workStarted(javax.resource.spi.work.WorkEvent event)
workStarted
in interface javax.resource.spi.work.WorkListener
public void workCompleted(javax.resource.spi.work.WorkEvent event)
workCompleted
in interface javax.resource.spi.work.WorkListener
protected void handleWorkException(javax.resource.spi.work.WorkEvent event, String type)
public void dispatch(UMOImmutableEndpoint endpoint, UMOEvent event) throws DispatchException
dispatch
in interface UMOConnector
endpoint
- endpoint to dispatch fromevent
- The event to dispatch
DispatchException
- if the event fails to be dispatchedpublic UMOMessage receive(UMOEndpointURI endpointUri, long timeout) throws Exception
receive
in interface UMOConnector
endpointUri
- the endpoint URI to use when connecting to the resourcetimeout
- 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 cuases an exceptionpublic UMOMessage receive(UMOImmutableEndpoint endpoint, long timeout) throws Exception
receive
in interface UMOConnector
endpoint
- the endpoint to use when connecting to the resourcetimeout
- 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 cuases an exceptionpublic UMOMessage send(UMOImmutableEndpoint endpoint, UMOEvent event) throws DispatchException
send
in interface UMOConnector
endpoint
- endpoint to send fromevent
- The event to send
DispatchException
- if the event fails to be dispatchedpublic void initialiseFromUrl(UMOEndpointURI endpointUri) throws InitialisationException
TransportFactory
the endpoint used to
determine the connector type is passed to this method so that any properties
set on the endpoint that can be used to initialise the connector are made
available.
endpointUri
- the UMOEndpointURI
use to create this connector
InitialisationException
- If there are any problems with the
configuration set on the Endpoint or if another exception is
thrown it is wrapped in an InitialisationException.protected void initFromServiceDescriptor() throws InitialisationException
TransportServiceDescriptor
This
will be called before the doInitialise()
method is called.
InitialisationException
- InitialisationException If there are any
problems with the configuration or if another exception is thrown
it is wrapped in an InitialisationException.protected TransportServiceDescriptor getServiceDescriptor()
TransportServiceDescriptor
for this connector. This will be
null if the connector was created by the developer. To create a connector the
proper way the developer should use the TransportFactory
and pass in
an endpoint.
TransportServiceDescriptor
for this connectorprotected UMOMessageReceiver createReceiver(UMOComponent component, UMOEndpoint endpoint) throws Exception
component
- the component that will receive events from this receiver,
the listenerendpoint
- the endpoint that defies this inbound communication
TransportServiceDescriptor
initialised using the component and endpoint.
Exception
- if there is a problem creating the receiver. This exception
really depends on the underlying transport, thus any exception
could be thrownpublic UMOMessageAdapter getMessageAdapter(Object message) throws MessagingException
UMOMessageAdapter
for the endpoint for the given message
(data)
getMessageAdapter
in interface UMOConnector
message
- the data with which to initialise the
UMOMessageAdapter
UMOMessageAdapter
for the endpoint
MessagingException
- if the message parameter is not
supportedUMOMessageAdapter
public UMOStreamMessageAdapter getStreamMessageAdapter(InputStream in, OutputStream out) throws MessagingException
UMOStreamMessageAdapter
from the connector for the given
message. This Adapter will correctly handle data streaming for this type of
connector
getStreamMessageAdapter
in interface UMOConnector
in
- the input stream to read the data fromout
- the outputStream to write data to. This can be null.
UMOStreamMessageAdapter
for the endpoint
MessagingException
- if the message parameter is not supportedUMOStreamMessageAdapter
public Map getServiceOverrides()
public void setServiceOverrides(Map serviceOverrides)
serviceOverrides
- the override values to usepublic OutputStream getOutputStream(UMOImmutableEndpoint endpoint, UMOMessage message) throws UMOException
UnsupportedOperationException
is thrown. Note that the stream MUST release resources on close. For help doing so, see
CallbackOutputStream
.
getOutputStream
in interface UMOConnector
endpoint
- the endpoint that releates to this Dispatchermessage
- the current message being processed
UMOException
- in case of any errorpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |