You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Matt Bishop <MB...@infowave.com> on 2003/09/16 21:05:48 UTC

MessengerSession question

In debugging a problem I am having, I have discovered something odd in
the MessengerSession code:

    /**
     * @return the MessageProducer for the given destination.
     */
    public MessageProducer getMessageProducer(Destination destination)
throws JMSException {
        if (producer == null) {
            producer = messenger.createMessageProducer(this, null);
        }
        return producer;
    }

It looks like the destination parameter is ignored.  Why is this?

__________________
Matt Bishop
Sr. Software Engineer

infowave
Building Business. Wirelessly.

4664 Lougheed Hwy
Burnaby, BC  V5C 5T5
Canada