diff --git a/reference/amqp/amqpexchange/publish.xml b/reference/amqp/amqpexchange/publish.xml
index 0a5dbd088e..1caa08a1c9 100644
--- a/reference/amqp/amqpexchange/publish.xml
+++ b/reference/amqp/amqpexchange/publish.xml
@@ -13,13 +13,13 @@
public voidAMQPExchange::publish
stringmessage
stringrouting_key
+ intparams0
+ arrayattributes
Publish a message to the exchange represented by the AMQPExchange object.
- &warn.undocumented.func;
-
@@ -42,6 +42,91 @@
+
+ params
+
+
+ One or more of AMQP_MANDATORY and
+ AMQP_MANDATORY.
+
+
+
+
+
+
+
+
+ Supported indexes
+
+
+
+ key
+ Description
+ Default value
+
+
+
+
+ Content-type
+
+ text/plain
+
+
+ Content-encoding
+
+ NULL
+
+
+ message_id
+
+ NULL
+
+
+ user_id
+
+ NULL
+
+
+ app_id
+
+ NULL
+
+
+ delivery_mode
+
+ NULL
+
+
+ priority
+
+ NULL
+
+
+ timestamp
+
+ NULL
+
+
+ expiration
+
+ NULL
+
+
+ type
+
+ NULL
+
+
+ reply_to
+
+ NULL
+
+
+
+
+
+
+
@@ -49,7 +134,14 @@
&reftitle.returnvalues;
+ &return.success;
+
+
+
+ &reftitle.errors;
+
+ Throws an AMQPExchangeException on failure.