Exemplo n.º 1
0
 /**
  * @param MessageHandlerInterface       $messageHandler
  * @param object                        $messageBeingHandled
  * @param string                        $messageId
  * @param array                         $headers
  * @param IncomingPhysicalMessage       $incomingPhysicalMessage
  * @param PendingTransportOperations    $pendingTransportOperations
  * @param BusOperations                 $busOperations
  * @param OutgoingOptionsFactory        $outgoingOptionsFactory
  * @param EndpointControlToken          $endpointControlToken
  * @param IncomingLogicalMessageContext $parentContext
  */
 public function __construct(MessageHandlerInterface $messageHandler, $messageBeingHandled, $messageId, array $headers, IncomingPhysicalMessage $incomingPhysicalMessage, PendingTransportOperations $pendingTransportOperations, BusOperations $busOperations, OutgoingOptionsFactory $outgoingOptionsFactory, EndpointControlToken $endpointControlToken, IncomingLogicalMessageContext $parentContext)
 {
     parent::__construct($messageId, $headers, $incomingPhysicalMessage, $pendingTransportOperations, $busOperations, $outgoingOptionsFactory, $endpointControlToken, $parentContext);
     $this->messageHandler = $messageHandler;
     $this->messageBeingHandled = $messageBeingHandled;
 }
 /**
  * @param object          $message
  * @param ReplyOptions    $options
  * @param IncomingContext $parentContext
  *
  * @return OutgoingReplyContext
  */
 public function createReplyContext($message, ReplyOptions $options, IncomingContext $parentContext)
 {
     return new OutgoingReplyContext(new OutgoingLogicalMessage($message), $options, $parentContext->getIncomingPhysicalMessage(), $parentContext->getPendingTransportOperations(), $parentContext);
 }
 /**
  * @param IncomingPhysicalMessage    $physicalMessage
  * @param string                     $messageId
  * @param array                      $headers
  * @param PendingTransportOperations $pendingTransportOperations
  * @param BusOperations              $busOperations
  * @param OutgoingOptionsFactory     $outgoingOptionsFactory
  * @param EndpointControlToken       $endpointControlToken
  * @param PipelineStageContext       $parentContext
  */
 public function __construct(IncomingPhysicalMessage $physicalMessage, $messageId, array $headers, PendingTransportOperations $pendingTransportOperations, BusOperations $busOperations, OutgoingOptionsFactory $outgoingOptionsFactory, EndpointControlToken $endpointControlToken, PipelineStageContext $parentContext)
 {
     parent::__construct($messageId, $headers, $physicalMessage, $pendingTransportOperations, $busOperations, $outgoingOptionsFactory, $endpointControlToken, $parentContext);
 }
 /**
  * @param IncomingLogicalMessage         $logicalMessage
  * @param string                         $messageId
  * @param array                          $headers
  * @param IncomingPhysicalMessage        $incomingPhysicalMessage
  * @param PendingTransportOperations     $pendingTransportOperations
  * @param BusOperations                  $busOperations
  * @param OutgoingOptionsFactory         $outgoingOptionsFactory
  * @param EndpointControlToken           $endpointControlToken
  * @param IncomingPhysicalMessageContext $parentContext
  */
 public function __construct(IncomingLogicalMessage $logicalMessage, $messageId, array $headers, IncomingPhysicalMessage $incomingPhysicalMessage, PendingTransportOperations $pendingTransportOperations, BusOperations $busOperations, OutgoingOptionsFactory $outgoingOptionsFactory, EndpointControlToken $endpointControlToken, IncomingPhysicalMessageContext $parentContext)
 {
     parent::__construct($messageId, $headers, $incomingPhysicalMessage, $pendingTransportOperations, $busOperations, $outgoingOptionsFactory, $endpointControlToken, $parentContext);
     $this->logicalMessage = $logicalMessage;
 }