Class UnroutableRpcRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.rabbitmq.client.UnroutableRpcRequestException
All Implemented Interfaces:
Serializable

public class UnroutableRpcRequestException extends 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 with RpcClientParams.useMandatory().

Since:
5.6.0
See Also:
  • Constructor Details Link icon

    • UnroutableRpcRequestException Link icon

      public UnroutableRpcRequestException(Return returnMessage)
  • Method Details Link icon

    • getReturnMessage Link icon

      public Return getReturnMessage()
      The returned message.
      Returns: