spring-projects/spring-amqp — pull request #237 by bidifx (2014-12-10 08:38:33+00:00)
Title: Fix AMQP exception response

Reply with Exception wrapped in RemoteInvocationResult.

Sending a raw exception leads to
"RemoteProxyFailureException: Expected a result of type org.springframework.remoting.support.RemoteInvocationResult but found java.lang.RuntimeException"
on client side. Sending RemoteInvocationResult is more useful as the wrapped exception can be accessed by the client.