public class VMTransportSender extends AbstractTransportSender
VMTransportListener
.
The listener has to be configured with the sender for the configuration to be effective, as there wont be any
services registered for the VM dispatcher without the listener
It is generally assumed to be a single VM transport listener/sender pair per JVM as there is no other differentiation for the VM transport than the JVM
ConfigurationElement.State
logger, metrics, originatingTransport, properties
Constructor and Description |
---|
VMTransportSender()
VM transport sender constructor that sets the transport name
|
Modifier and Type | Method and Description |
---|---|
TransportSender.SendingResult |
send(org.adroitlogic.ultraesb.core.MessageImpl message)
Delivers the given message to the targeted proxy service on the same VM, the proxy service is discovered from the
destination URL where it is expected to be in the form of vm://foo, where the "e;foo"e; part is treated
as the service name
|
getDetails, getOriginatingTransport, pause, resetStatistics, resume, setProperties, start, stop, toBasicView, toDetailedView, toDetailedViewExt
equals, getDeploymentUnit, getDerivedName, getId, getState, getStreamCount, getTimerStreamMax, getTimerStreamMean, getTimerStreamMin, getTimerStreamPer, hashCode, init, isDebugOn, isStarted, maintenanceShutdown, markAsOutdated, resetCounter, resetTimer, resolveMetricsStreams, setBeanName, setConfig, setDebugOn, setDerivedName, setId, setMetricsEngine, setState, throwIllegalStateException, undeploy
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
retire
public VMTransportSender()
public TransportSender.SendingResult send(org.adroitlogic.ultraesb.core.MessageImpl message)
The send is asynchronous and if the sending is successful as seen by the VM sender
TransportSender.SendingResult.PENDING
will be returned, due to the
asynchronous nature of the transport this send method never returns a SUCCESSFUL send status as the sender
doesn't have access to information to verify the completion of the send process.
message
- the message to be delivered to the specified proxy service over the VM