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) |
acquireResult, completeCallback, getCallbackMappublic RabbitMQRequestTransport(MetricConfiguration metricConfiguration, RabbitMQConnector rabbitMQConnector, NameConfiguration nameConfiguration, SignalCodec signalCodec, int clusterSize, int concurrencyLimit, int defaultTimeoutSeconds, int messageTTLSeconds) throws IOException, InterruptedException, TimeoutException
public 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,
TimeoutException
close in interface RequestTransportIOExceptionInterruptedExceptionTimeoutExceptionCopyright © 2017. All rights reserved.