Originally posted by Mark Herschberg:
The listeners on the EJB server, that is, the Queues which I created through WebLogic, with Message Driven Bean listeners seem have the Queue's messages pushed to them (or else WebLogic is polling under the covers).
JMS allows for both synchronous polling and an asynchronous push for the receivers. Since MDBs implement the MessageListener interface they are asynchronous receivers that get messages pushed to them. They do poll the connection occasionally to make sure it is live but that is about it for the polling. This polling period is configurable. The docs are
here.
Originally posted by Mark Herschberg:
Oh son of a *&%#! The problem was that I forgot to call start() on the QueueConnection. Boy is WebLogic unhelpful!
Don't worry, this happens to the best of us. Recently, I wasted an hour on a very similar problem. I was using JMX Timers to schedule jobs in WebLogic and I couldn't get the Timer to actually fire... then I noticed that I never told the to start.
[ December 30, 2002: Message edited by: Chris Mathews ]