On 9/19/06, Colin Crist <[EMAIL PROTECTED]> wrote:
> > One commonly cited one is threading, if anyone has used RV for
> > example, its model of having dispatch queues (not to be
> confused with
> > transport queues) onto which messages are placed by listeners (i.e.
> > subscriptions) totally decouples the subscription from the final
> > message callback. This model is very flexible letting you dispatch
> > messages from timers as well as transports.
>
> I don't quite follow. Whats to stop a JMS provider
> dispatching messages from N transports and M timers to a
> single JMS session and using a single thread or a thread pool
> to execute the MessageListener's on the consumers?

Nothing, but its not in the spec so there are no implementations (that I
know of) that let you.

FWIW it would be trivial to write a little timer Transport
implementation for ActiveMQ which could act as a filter to any other
transport but fire timer events to consumers whenever it wished to do
just what you need etc.


--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to