I haven't really thought properly about shutdown. But I guess when or if we switch configurations dynamically there may be mediators that will not be used anymore and we should try to ensure they get cleaned up and GCed.
My real issue right now is the startup tho, because I need to pass the SynapseEnv to a callback class, and I need to pass the SynapseEnv to the callback before any messages come through the mediator. Paul On 7/25/07, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
Paul Paul Fremantle wrote: > I'm looking at interfacing Synapse with a stateful engine. In other > words, I'd like for my mediator to get notified before any messages > get passed to it, and when no more messages will be passed to it. How can one decide that no more messages will be passed to it? is it when Synapse is shutdown? > PS do we ever use mediator.getType()? Yes, as per the Javadoc, its for logging purposes only asankha --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Paul Fremantle Co-Founder and VP of Technical Sales, WSO2 OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
