public class RabbitMQRequestTransport extends AbstractRequestTransport implements MetricConfigurationProvider
| Constructor and Description |
|---|
RabbitMQRequestTransport(MetricConfiguration metricConfiguration,
RabbitMQConnector rabbitMQConnector,
NameConfiguration nameConfiguration,
SignalCodec signalCodec,
int clusterSize,
int concurrencyLimit,
int defaultTimeoutSeconds,
int messageTTLSeconds) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getCallerId() |
MetricConfiguration |
getMetricConfiguration() |
Object |
transmit(Voice voice,
Address address,
Map<String,Object> arguments,
WireContext... contexts) |
completeCallback, getCallbackMappublic RabbitMQRequestTransport(MetricConfiguration metricConfiguration, RabbitMQConnector rabbitMQConnector, NameConfiguration nameConfiguration, SignalCodec signalCodec, int clusterSize, int concurrencyLimit, int defaultTimeoutSeconds, int messageTTLSeconds) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic MetricConfiguration getMetricConfiguration()
getMetricConfiguration in interface MetricConfigurationProviderpublic String getCallerId()
getCallerId in interface RequestTransportpublic Object transmit(Voice voice, Address address, Map<String,Object> arguments, WireContext... contexts) throws Throwable
transmit in interface RequestTransportThrowablepublic void close()
throws IOException,
InterruptedException
close in interface RequestTransportIOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.