A shutdown request is first sent to the publisher, which then calls the feed handler shutdown callback.
Generally, shutdown requests are initiated by Operations Console. The publisher does not perform any shutdown actions upon receipt of this request, since the feed handler may need to perform its shutdown actions first. The feed handler should perform its shutdown activities, call pub_cancelMessage for any messages that are being built (or finish building them), and then call the publisher shutdown method, pub_shutdown.