public class CamelRpcClientFactory extends Object implements RpcClientFactory
JMX_DOMAIN_RPC, LOG_PREFIX, RPC_COUNT, RPC_DURATION, RPC_FAILED, RPC_REQUEST_SIZE, RPC_RESPONSE_SIZE
Constructor and Description |
---|
CamelRpcClientFactory() |
Modifier and Type | Method and Description |
---|---|
<S extends RpcRequest,T extends RpcResponse> |
getClient(RpcModule<S,T> module) |
TracerRegistry |
getTracerRegistry() |
void |
setLocation(String location) |
void |
setTracerRegistry(TracerRegistry tracerRegistry) |
void |
start() |
void |
stop() |
public <S extends RpcRequest,T extends RpcResponse> RpcClient<S,T> getClient(RpcModule<S,T> module)
getClient
in interface RpcClientFactory
public TracerRegistry getTracerRegistry()
public void setTracerRegistry(TracerRegistry tracerRegistry)
public void setLocation(String location)
public void start()
public void stop()
Copyright © 2019. All rights reserved.