« Return to Thread: is muleContext.getRegistry() the right place for application wide runtime info?

Re: is muleContext.getRegistry() the right place for application wide runtime info?

by Dimitar Dimitrov :: Rate this Message:

Reply to Author | View in Thread


Andrew Perepelytsya wrote:
Mule does have those, the session, but it's not really a good fit for your
use case.

Andrew
Hi Andrew, is there any documentation about the session use cases in Mule?

I could never really figure what is the session scope and how is it mapped to the different transports (JMS, HTTP, File)

Regarding the original topic - one can use Spring custom scopes to swap beans at runtime.

http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-scopes-other-injection

http://static.springframework.org/spring/docs/2.5.x/reference/beans.html#beans-factory-scopes-custom

 « Return to Thread: is muleContext.getRegistry() the right place for application wide runtime info?