When the Publisher receives a shutdown request (likely initiated
by the Operations Console), the Publisher calls the feed handler
shutdown callback. The Publisher does not perform any shutdown action
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 cancelMessage
for
any messages that are in progress of being built (or finish building
them), and then call the Publisher shutdown method.