public String getCurrentId() {
   return sender.getCurrentId();
 }
 public void addSetupListener(ChannelSetupListener channelSetup) {
   receiver.addSetupListener(channelSetup);
   sender.addSetupListener(channelSetup);
 }
 public boolean isTransactional() {
   return sender.isTransactional();
 }
 public void setTransactional(boolean transactional) {
   sender.setTransactional(transactional);
 }
 public void removeMessageSentListener(MessageSentListener listener) {
   sender.removeMessageSentListener(listener);
 }
 public void close() throws IOException {
   sender.close();
   receiver.close();
 }
 public String getIdentity() {
   return sender.getIdentity();
 }
 public void removeSenderSetupListener(ChannelSetupListener channelSetup) {
   sender.removeSetupListener(channelSetup);
 }
 public Connector getConnector() {
   return sender.getConnector();
 }
 public void setConnector(Connector connector) {
   sender.setConnector(connector);
   receiver.setConnector(connector);
 }
 public void send(Message m) throws Exception {
   sender.send(m);
 }
 public Message createReply(Message m) {
   return sender.createReply(m);
 }
 public Message createMessage() {
   return sender.createMessage();
 }
 public void removeSetupListener(ChannelSetupListener channelSetup) {
   receiver.removeSetupListener(channelSetup);
   sender.removeSetupListener(channelSetup);
 }
 public void setIdentity(String identity) {
   sender.setIdentity(identity);
   receiver.setIdentity(identity);
 }
 public void addSenderSetupListener(ChannelSetupListener channelSetup) {
   sender.addSetupListener(channelSetup);
 }
 public String getExchangeName() {
   return sender.getExchangeName();
 }
 public void addMessageSentListener(MessageSentListener listener) {
   sender.addMessageSentListener(listener);
 }
 public void setExchangeName(String exchangeName) {
   sender.setExchangeName(exchangeName);
 }
 public void init() throws Exception {
   sender.init();
   receiver.init();
 }
 public void init(long msgIdPrefix) throws Exception {
   sender.init(msgIdPrefix);
   receiver.init();
 }