Re: Shut down an embedded broker defined in Spring context

2008-11-05 Thread hanson2010
the > bean using your spring context, then call shutdown on it. > > for logging, see: > http://activemq.apache.org/how-can-i-enable-detailed-logging.html > > 2008/11/4 hanson2010 <[EMAIL PROTECTED]>: >> >> Spring context configuration is as below... Now my p

Shut down an embedded broker defined in Spring context

2008-11-03 Thread hanson2010
Spring context configuration is as below... Now my pain is I can start up the broker with the application. But after captured Ctrl+C, the application exits promptly. So I want to do this more gracefully to shut it down. BTW, how can I switch on log output of the broker.