onException in XMLMessageListener for which endPoint?

alinaqvi
alinaqvi Member Posts: 35
   protected XMLMessageListener getXMLMsgListener() {

    return new XMLMessageListener() {

        @Override
        public void onException(JCSMPException arg0) {

           ** // Which topic is this for?**

        }

        @Override
        public void onReceive(BytesXMLMessage msg) {
         // normal message 

        }

    };
   }

Is there any way to know which topic or queue onException got invoked for?

Many Thanks,
Ali

Best Answer

Answers