On Sun JMS spec page 98 and 99 shows that onMessage() is used for Topic session 
whereas receiver() is used for Queue session. However, onMessage() works with SwiftMQ 
JMS in Queue session. I'm confused and determined to sort it out. :)

/lim/

*********** REPLY SEPARATOR  ***********

On 12/5/00 at 9:50 AM Luong, Tony      S322 wrote:

>try use setMessageListener on the QueueSession instead of the QueueReceive.
>
>> -----Original Message-----
>> From:        TH Lim [SMTP:[EMAIL PROTECTED]]
>> Sent:        Monday, December 04, 2000 10:54 PM
>> To:  Orion-Interest
>> Subject:     onMessage()
>> 
>> Hi!
>> 
>> I'm testing Orion 1.4  JMS coffeemaker demo. The demo runs fine. I
>> modified it to use onMessage() instead of pooling using
>> QueueReceiver.receive() method. This however, renders this demo useless.
>> onMessage() is not triggered. It is my logic fault or Orion doesn't
>> support onMessage() trigger? Please refer to file provided.
>> 
>> thank you.
>> 
>> /lim/ << File: CoffeeMaker.java >> 
>
>------------------------------------------------------------------------------
>CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately 
>notify the sender by e-mail at the address shown.  This e-mail transmission may 
>contain confidential information.  This information is intended only for the use of 
>the individual(s) or entity to whom it is intended even if addressed incorrectly.  
>Please delete it from your files if you are not the intended recipient.  Thank you 
>for your compliance.
>
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




Reply via email to