>>
>> I want a producer to post a message to a queue. I want this message to be picked up 
>asynchronously.
>> In order to accomplish this I want to wait inside a method .

>Instead of waiting inside a method, it is more reliable and scaleable to >have the 
>container do the waiting and to call your EJB instance when the >message arrives. The 
>reasons for this are:

I dont have an issue with the container do the waiting. How does one do that ? It was 
my understanding that JMS is a client-side API. In my case one of the clients (the 
consumer) is an Enterprise Java Bean (a session bean) and the producer is an RMI 
server. I want the consumer to be notified
asynchronously that there is a message and then proceed to act on the message.

Ashwin.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to