Package | Description |
---|---|
com.rabbitmq.tools.jsonrpc |
JSON-RPC client and server classes for supporting JSON-RPC over an AMQP transport.
|
Modifier and Type | Method and Description |
---|---|
JsonRpcException |
JsonRpcMapper.JsonRpcResponse.getException() |
Modifier and Type | Method and Description |
---|---|
Object |
JsonRpcClient.call(String[] args)
Deprecated.
This method will be removed in the next major version
|
Object |
JsonRpcClient.call(String method,
Object[] params)
Public API - builds, encodes and sends a JSON-RPC request, and
waits for the response.
|
Constructor and Description |
---|
JsonRpcResponse(Object result,
Object error,
JsonRpcException exception) |
Constructor and Description |
---|
JsonRpcClient(Channel channel,
String exchange,
String routingKey) |
JsonRpcClient(Channel channel,
String exchange,
String routingKey,
int timeout)
Construct a new JsonRpcClient, passing the parameters through
to RpcClient's constructor.
|
JsonRpcClient(Channel channel,
String exchange,
String routingKey,
int timeout,
JsonRpcMapper mapper)
Construct a new JsonRpcClient, passing the parameters through
to RpcClient's constructor.
|
JsonRpcClient(RpcClientParams rpcClientParams,
JsonRpcMapper mapper)
|
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.