updates to readme
This commit is contained in:
parent
6169989821
commit
c2c62562e7
11
README.md
11
README.md
|
|
@ -615,7 +615,7 @@ you're publishing - all these parameters are standard C++ strings.
|
|||
|
||||
More extended versions of the publish() method exist that accept additional
|
||||
arguments, and that enable you to publish entire Envelope objects. An envelope
|
||||
is an object that contains the message plus a list of optional meta information like
|
||||
is an object that contains the message plus a list of optional meta properties like
|
||||
the content-type, content-encoding, priority, expire time and more. None of these
|
||||
meta fields are interpreted by this library, and also the RabbitMQ ignores most
|
||||
of them, but the AMQP protocol defines them, and they are free for you to use.
|
||||
|
|
@ -661,8 +661,8 @@ bool publish(const std::string &exchange, const std::string &routingKey, const c
|
|||
````
|
||||
|
||||
Published messages are normally not confirmed by the server, and the RabbitMQ
|
||||
will not send a report back to inform us whether the message was succesfully
|
||||
published or not. Therefore the publish method does also not return a Deferred
|
||||
will not send a report back to inform you whether the message was succesfully
|
||||
published or not. Therefore the publish method does not return a Deferred
|
||||
object.
|
||||
|
||||
As long as no error is reported via the Channel::onError() method, you can safely
|
||||
|
|
@ -695,6 +695,11 @@ channel.commitTransaction()
|
|||
});
|
||||
````
|
||||
|
||||
Note that AMQP transactions are not as powerful as transactions that are
|
||||
knows in the database world. It is not possible to wrap all sort of
|
||||
operations in a transaction, they are only meaningful for publishing
|
||||
and consuming.
|
||||
|
||||
|
||||
CONSUMING MESSAGES
|
||||
==================
|
||||
|
|
|
|||
Loading…
Reference in New Issue