U MK wrote:
> Publisher confirm means ?
>
> 1) When publisher publish the message to broker, *broker *confirms
> to *publisher *that I have received and processed
> OR
> 2) When publisher publish message to broker, *broker *confirms to
> *Publisher *that consumer *consume *the message and deleted from queue.
>
> Which statement is true?
The first one.
>
> I want to achieve the 2nd answer. by using publisher confirm is it
> possible to achieve?
Since AMQP is an async specification, the producer won't know the status
of consumers. So to implement the second way, you may want both
publisher confirm and consumer confirm.
regards.