[Java 0-8] Publishing a persistent messages outside of transactions should
generate a warning
---------------------------------------------------------------------------------------------
Key: QPID-2747
URL: https://issues.apache.org/jira/browse/QPID-2747
Project: Qpid
Issue Type: Improvement
Components: Java Broker, Java Client
Reporter: Rob Godfrey
In AMQP 0-8/0-9/0-9-1 publishing is not synchronous, therefore there is no
guarantee that messages which the client believes it has "sent" have arrived at
the broker - or made it to disk in the case of persistent messages.
Since the use case for persistent messages is to avoid message loss in the
event of failure, the use of persistent messages without tarnsactions (which
provide the missing synchronous acknowkledgement) is somewhat bizarre - and may
well be a mistake on the part of the user (presumably because they are
unfamiliar with the limitations of AMQP 0-8/9/9-1).
In order to alert the user to this issue we could add a warning to the client
and/or broker whenever it notices persistent messages are being sent outside of
transactions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]