Hi,

   I have run into a problem which I cant determine the cause.
   I am writing a class implements MessageListener. I tries to register the object 
into QueueReceiver using setMessageListener() method.
   But If I dont call the QueueReceiver's receive() method, I will get no message 
coming through the OnMessage interface.
   And if I calls the QueueReceiver's receive() method, I will get two message. One 
from QueueReceiver's receive() method, and one through the OnMessage interface.
  And both behavior isnt what I want.
  I think the proper behavior should be that once I register the MessageListener, I 
dont need to call QueueReceiver's receive() method to receive message.
  Can any one tell me how to solve this problem, or maybe this is a bug.

  ps.I am using Orion1.4.5


*************************************************************
 Tai-Hsin Lu
 UFO Network Service Inc.
IT Manager
 E-Mail: [EMAIL PROTECTED]
 Tel: 86-21-64285460~63 ext.22
 Fax: 86-21-64275535 

Reply via email to