activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Zhuang <guolin.zhuan...@alibaba-inc.com>
Subject who can tell me why a NoSuchMethodException,is a bug?
Date Thu, 26 Jun 2008 02:09:59 GMT

when i user QueueSender.send(object) it throw a NoSuchMethod exception. in
it's source code,like this:

public abstract class ActiveMQMessageProducerSupport ... {
public void send(Message message, int deliveryMode, int priority, long
timeToLive) throws JMSException {
        this.send(this.getDestination(),
                  message,
                  deliveryMode,
                  priority,
                  timeToLive);
    }
}

public class ActiveMQQueueSender extends ActiveMQMessageProducer implements
QueueSender {
       public Destination getDestination() throws JMSException {
        checkClosed();
        return this.info.getDestination();
    }
}

this.getDestination is a child class method,this do complete compile!!!
-- 
View this message in context: http://www.nabble.com/who-can-tell-me-why-a-NoSuchMethodException%2Cis-a-bug--tp18125290p18125290.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message