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.

Reply via email to