public MessageReceiver(Connector connector, final String queueName, final String exchangeName) throws Exception {
receiver.setConnector(connector);
receiver.setQueueName(queueName);
addChannelSetupListener(new ChannelSetupListener() {
public void channelSetup(Channel channel) throws IOException {
channel.queueDeclare(queueName, DURABLE, EXCLUSIVE, AUTO_DELETE, null);
// TODO: Error handling
channel.exchangeDeclarePassive(exchangeName);