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.RuntimeExceptionException thrown when a RPC request isn't routed to any queue.The
RpcClientmust 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 ReturnreturnMessage
-
Constructor Summary
Constructors Constructor Description UnroutableRpcRequestException(Return returnMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReturngetReturnMessage()The returned message.
-