示例#1
0
 /**
  * It requests an endpoint shutdown to take place after the current attempt of processing this message completes,
  * regardless of the way it completes (with success or failure/exception).
  *
  * It effectively pulls out of listening for more messages on the queue.
  */
 public function shutdownThisEndpointAfterCurrentMessage()
 {
     $this->endpointControlToken->requestShutdown();
 }