'shortstr', 'content_encoding' => 'shortstr', 'application_headers' => 'table_object', 'delivery_mode' => 'octet', 'priority' => 'octet', 'correlation_id' => 'shortstr', 'reply_to' => 'shortstr', 'expiration' => 'shortstr', 'message_id' => 'shortstr', 'timestamp' => 'timestamp', 'type' => 'shortstr', 'user_id' => 'shortstr', 'app_id' => 'shortstr', 'cluster_id' => 'shortstr', ); /** * @param string $body * @param null $properties */ public function __construct($body = '', $properties = null) { $this->setBody($body); parent::__construct($properties, static::$propertyDefinitions); } /** * Sets the message payload * * @param mixed $body * @return $this */ public function setBody($body) { $this->body = $body; } }