\ManaPHP\Messaging\AmqpMessage

Summary

Methods
Properties
Constants
__construct()
getAmqp()
getEnvelope()
getExchange()
getQueue()
getRoutingKey()
getBody()
getJsonBody()
getDeliveryTag()
getMessageId()
getReplyTo()
getType()
isRedelivery()
getHeaders()
ack()
nack()
toArray()
jsonSerialize()
__toString()
No public properties found
No constants found
No protected methods found
$_amqp
$_queue
$_envelope
N/A
No private methods found
No private properties found
N/A

Properties

$_queue

$_queue : string

Type

string

$_envelope

$_envelope : \AMQPEnvelope

Type

\AMQPEnvelope

Methods

__construct()

__construct(\ManaPHP\Messaging\Amqp  $amqp, string  $queue, \AMQPEnvelope  $envelope) 

Parameters

\ManaPHP\Messaging\Amqp $amqp
string $queue
\AMQPEnvelope $envelope

getEnvelope()

getEnvelope() : \AMQPEnvelope

Returns

\AMQPEnvelope

getExchange()

getExchange() : string

Returns

string

getQueue()

getQueue() : string

Returns

string

getRoutingKey()

getRoutingKey() : string

Returns

string

getBody()

getBody() : string

Returns

string

getJsonBody()

getJsonBody() : array

Returns

array

getDeliveryTag()

getDeliveryTag() : string

Returns

string

getMessageId()

getMessageId() : string

Returns

string

getReplyTo()

getReplyTo() : string

Returns

string

getType()

getType() : string

Returns

string

isRedelivery()

isRedelivery() : boolean

Returns

boolean

getHeaders()

getHeaders() : array

Returns

array

ack()

ack(boolean  $multiple = false) 

Parameters

boolean $multiple

nack()

nack(boolean  $multiple = false) 

Parameters

boolean $multiple

toArray()

toArray() : array

Returns

array

jsonSerialize()

jsonSerialize() : array

Returns

array

__toString()

__toString() : string

Returns

string