* Registers a receiver that forwards the message to another server.
*
* @param receiver The receiver that is notified of the message availability.
*/
public void registerReceiver(final Receiver receiver) {
Receiver receiverInterceptor = new Receiver() {
public String receive(final String uri, final String method, final
Properties header, final Properties params, final String message) {
log.trace("Entering receive");
String response = delegate.send(message);