public class CamelRpcServerProcessor extends Object implements org.apache.camel.AsyncProcessor
RpcRequest
, and asynchronously returns the RpcResponse
.Constructor and Description |
---|
CamelRpcServerProcessor(RpcModule<RpcRequest,RpcResponse> module,
TracerRegistry tracerRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
postProcess(org.apache.camel.Exchange exchange) |
void |
process(org.apache.camel.Exchange exchange) |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
String |
toString() |
public CamelRpcServerProcessor(RpcModule<RpcRequest,RpcResponse> module, TracerRegistry tracerRegistry)
public void process(org.apache.camel.Exchange exchange)
process
in interface org.apache.camel.Processor
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
public void postProcess(org.apache.camel.Exchange exchange)
Copyright © 2020. All rights reserved.