$envelope =
$this->serializer->
decode([ 'body' =>
$data['body'
],
'headers' =>
$data['headers'
],
]);
} catch (MessageDecodingFailedException
$exception) { $this->connection->
reject($data['id'
]);
throw $exception;
} return $envelope->
with( new DoctrineReceivedStamp($data['id'
]),
new TransportMessageIdStamp($data['id'
]) );
}}