This is a bit of a contrived example, since I explcitly have left out a synchronous API for QAMQP, however, it still shows how one can use the CorrelationID and ReplyTo properties to implement RPC behavior