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.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++