| 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 using the safe default return-type allowlist.
|
JsonRpcClient(Channel channel,
String exchange,
String routingKey,
int timeout,
JsonRpcMapper mapper)
Construct a new JsonRpcClient using the safe default return-type allowlist.
|
JsonRpcClient(Channel channel,
String exchange,
String routingKey,
int timeout,
JsonRpcMapper mapper,
Set<Class<?>> allowedReturnTypes)
Construct a new JsonRpcClient with an explicit allowlist of permitted return types.
|
JsonRpcClient(RpcClientParams rpcClientParams,
JsonRpcMapper mapper)
Construct a new
JsonRpcClient that only accepts return types from the built-in
safe set (primitives, String, Map, List, common boxed types). |
JsonRpcClient(RpcClientParams rpcClientParams,
JsonRpcMapper mapper,
Set<Class<?>> allowedReturnTypes)
Construct a new
JsonRpcClient with an explicit allowlist of permitted return types. |
Copyright © 2026 Broadcom Inc. and its subsidiaries.. All rights reserved.