public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception
public Receiver(Connection conn, Session sess, int numMessages, Destination dest) throws Exception
   public Receiver(Session sess, MessageConsumer cons, int numMessages, boolean isListener) throws Exception   {      super(sess, numMessages);      this.cons = cons;      this.isListener = isListener;      if (this.isListener)      {         cons.setMessageListener(this);      }   }