timestampMs = $timestampMs; $this->destination = $destination; $this->isTopic = $isTopic; $this->messageId = $messageId; $this->correlationId = $correlationId; $this->headers = $headers; $this->properties = $properties; } public function getTimestampMs(): int { return $this->timestampMs; } public function getDestination(): string { return $this->destination; } public function isTopic(): bool { return $this->isTopic; } public function getMessageId(): ?string { return $this->messageId; } public function getCorrelationId(): ?string { return $this->correlationId; } public function getHeaders(): array { return $this->headers; } public function getProperties(): array { return $this->properties; } }