public class RabbitMQRequestTransport extends Object implements MetricConfigurationProvider, RequestTransport
| Constructor and Description |
|---|
RabbitMQRequestTransport(MetricConfiguration metricConfiguration,
RabbitMQConnector rabbitMQConnector,
NameConfiguration nameConfiguration,
SignalCodec signalCodec,
int clusterSize,
int concurrencyLimit,
int timeoutSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
completeCallback(String correlationId,
ResultSignal resultSignal) |
String |
getCallerId() |
MetricConfiguration |
getMetricConfiguration() |
void |
transmitInOnly(String serviceGroup,
String instanceId,
Address address,
Map<String,Object> arguments,
WireContext... contexts) |
Object |
transmitInOut(String serviceGroup,
String instanceId,
Address address,
Map<String,Object> arguments,
WireContext... contexts) |
public RabbitMQRequestTransport(MetricConfiguration metricConfiguration, RabbitMQConnector rabbitMQConnector, NameConfiguration nameConfiguration, SignalCodec signalCodec, int clusterSize, int concurrencyLimit, int timeoutSeconds) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic MetricConfiguration getMetricConfiguration()
getMetricConfiguration in interface MetricConfigurationProviderpublic String getCallerId()
getCallerId in interface RequestTransportpublic void transmitInOnly(String serviceGroup, String instanceId, Address address, Map<String,Object> arguments, WireContext... contexts) throws Exception
transmitInOnly in interface RequestTransportExceptionpublic Object transmitInOut(String serviceGroup, String instanceId, Address address, Map<String,Object> arguments, WireContext... contexts) throws Throwable
transmitInOut in interface RequestTransportThrowablepublic void completeCallback(String correlationId, ResultSignal resultSignal)
public void close()
throws IOException,
InterruptedException
close in interface RequestTransportIOExceptionInterruptedExceptionCopyright © 2015. All Rights Reserved.