Package com.rabbitmq.client
Class UnroutableRpcRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.rabbitmq.client.UnroutableRpcRequestException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnroutableRpcRequestException extends java.lang.RuntimeException
Exception thrown when a RPC request isn't routed to any queue.The
RpcClient
must be configured with the mandatory flag set to true withRpcClientParams.useMandatory()
.- Since:
- 5.6.0
- See Also:
RpcClientParams.useMandatory()
,RpcClient(RpcClientParams)
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Return
returnMessage
-
Constructor Summary
Constructors Constructor Description UnroutableRpcRequestException(Return returnMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Return
getReturnMessage()
The returned message.
-