public class JmsResponseTransport extends WorkManager<InvocationWorker,javax.jms.Message> implements MetricConfigurationProvider, WorkerFactory<InvocationWorker,javax.jms.Message>, ResponseTransport
| Constructor and Description |
|---|
JmsResponseTransport(MetricConfiguration metricConfiguration,
RoutingFactories routingFactories,
MessagePolicy messagePolicy,
ReconnectionPolicy reconnectionPolicy,
SignalCodec signalCodec,
String serviceGroup,
int clusterSize,
int concurrencyLimit,
int maximumMessageLength) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InvocationWorker |
createWorker(MetricConfiguration metricConfiguration,
TransferQueue<javax.jms.Message> transferQueue) |
String |
getInstanceId() |
String |
register(Class<?> serviceInterface,
WiredService targetService) |
void |
transmit(String callerId,
String correlationId,
boolean error,
String nativeType,
Object result) |
execute, getConcurrencyLimit, getMetricConfiguration, shutDown, startUpclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricConfigurationpublic JmsResponseTransport(MetricConfiguration metricConfiguration, RoutingFactories routingFactories, MessagePolicy messagePolicy, ReconnectionPolicy reconnectionPolicy, SignalCodec signalCodec, String serviceGroup, int clusterSize, int concurrencyLimit, int maximumMessageLength) throws InterruptedException, javax.jms.JMSException, TransportException
InterruptedExceptionjavax.jms.JMSExceptionTransportExceptionpublic String getInstanceId()
getInstanceId in interface ResponseTransportpublic String register(Class<?> serviceInterface, WiredService targetService) throws NoSuchMethodException, ServiceDefinitionException
register in interface ResponseTransportNoSuchMethodExceptionServiceDefinitionExceptionpublic InvocationWorker createWorker(MetricConfiguration metricConfiguration, TransferQueue<javax.jms.Message> transferQueue)
createWorker in interface WorkerFactory<InvocationWorker,javax.jms.Message>public void transmit(String callerId, String correlationId, boolean error, String nativeType, Object result) throws Exception
transmit in interface ResponseTransportExceptionpublic void close()
throws Exception
close in interface ResponseTransportExceptionCopyright © 2015. All Rights Reserved.