Thanks Gary. After turning on log output, I found that ActiveMQ's shutdown
hook was enabled by default. So it can close itself down whenever the host
application simply exited. No worry for now. :)
Gary Tully wrote:
>
> add an id attribute to the amq:broker bean and get a handle on the
> bean
add an id attribute to the amq:broker bean and get a handle on 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..