public class CamelRpcServerProcessor extends Object implements org.apache.camel.AsyncProcessor
RpcRequest
, and asynchronously returns the RpcResponse
.Constructor and Description |
---|
CamelRpcServerProcessor(RpcModule<RpcRequest,RpcResponse> module) |
Modifier and Type | Method and Description |
---|---|
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)
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
Copyright © 2017. All rights reserved.