diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Amf/Value/Messaging/AcknowledgeMessage.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Amf/Value/Messaging/AcknowledgeMessage.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,60 @@ +clientId = $this->generateId(); + $this->destination = null; + $this->messageId = $this->generateId(); + $this->timestamp = time().'00'; + $this->timeToLive = 0; + $this->headers = new STDClass(); + $this->body = null; + + // correleate the two messages + if ($message && isset($message->messageId)) { + $this->correlationId = $message->messageId; + } + } +}