Hi!

Juha Lindfors wrote:
> At 08:51 3.9.2000 +0200, you wrote:
> >setState() will trigger message notifications. If this method doesn't
> >wait until all listeners have been notified they will not have time to
> >do graceful shutdowns, since doStopCode() will have executed long before
> >they get the notification....
> >
> >How to solve?
> 
> Hmm.. well we have something that supports both synchronous and
> asynchronous messaging. SpyderMQ.

Just because the underlying messaging system supports synchronous
deliver doesn't mean much since there is no way for a JMX Notification
producer to say "I want to use synchronous notifications". :-(

> Which leads to an interesting mind game. We've building a fully
> componentized server. In order for all the components to work together it
> has become obvious that messaging between them is the most crucial
> functional requirement. So should a component management framework like JMX
> be built on top of messaging services like JMS? 

Maybe, maybe not. To build it on top of the JMS engine, yes, but not
necessarily by using the JMS API. Might be overkill.

> And since the server is
> built on top of the JMX framework it leads to it having a very robust
> messaging system at its very core (nice for logging etc etc).

True.

> Now instead we're plugging in JMS as an afterthough for EJB 2.0.

"instead"? Not following.

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


Reply via email to