« Return to Thread: Listening for resource shutdown?

RE: Listening for resource shutdown?

by Chris.Twiner :: Rate this Message:

Reply to Author | View in Thread

If its just for testing I would use Lenni's approach.  It only makes sense in my case as my system is built for persistent subscriptions and the ability to be restarted on the fly.

-----Original Message-----
From: Jan Torben Heuer [mailto:jan.heuer@...]
Sent: Tuesday, August 19, 2008 2:16 PM
To: muse-user@...
Subject: Re: Listening for resource shutdown?

On Tuesday 19 August 2008 14:01:04 Chris.Twiner@... wrote:

Hallo,

> To solve it for my needs I do a bunch of unpleasent inheritance and
> reflection (as each field is private for shutting down - my only huge
> issue with Muse's design) to allow subscriptions and resources to be persisted.
>  I have at least 6 of the core files replaced to allow shutting down
> etc which of course implies changes to the muse.xml for configuring them.
>
> I would have to check with my Boss about sharing that code, but I
> don't see a problem, although it would definitely be given "as is".
> Also the default framework does not have a notion of shutting down and
> then restarting, which may also affect your tests.

Thanks for your effort! If not I think I could also use Lenni's approach - just calling the listening resource "by hand".

Jan



--
                                Institute for Geoinformatics
jan.heuer@...       Robert-Koch-Strasse 26-28
+49 251 83-31960                48151 Münster, Germany

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...

 « Return to Thread: Listening for resource shutdown?