MAKS\AmqpAgent\Worker\PublisherInterface::message
Returns an AMQPMessage object.
Signature
public function message(string
$body,
[array
$properties = NULL] )
Parameters
$body
— string- The body of the message.
$properties
— array- [optional] The overrides for the default properties of the default message options of the worker.
Returns
- AMQPMessage