QPIDJMS-515 Do not recycle a delivery tag from a failed send operation

When send fails that has used a delivery tag do not recycle the tag as
the remote state is unknown and the next send could reuse that tag and
create an error as tags are meant to be unique amongst the unsettled
deliveries on the link.
3 files changed
tree: ba7f3058dccd6a03bb2a5255790dae808d3b2192
  1. .asf.yaml
  2. .github/
  3. .gitignore
  4. .travis.yml
  5. LICENSE
  6. NOTICE
  7. README.md
  8. apache-qpid-jms/
  9. appveyor.yml
  10. pom.xml
  11. qpid-jms-client/
  12. qpid-jms-discovery/
  13. qpid-jms-docs/
  14. qpid-jms-examples/
  15. qpid-jms-interop-tests/
README.md

QpidJMS

The QpidJMS project provides a JMS based client that uses the AMQP v1.0 protocol.

Below are some quick pointers you might find useful.

Building the code

The project requires Maven 3. Some example commands follow.

Clean previous builds output and install all modules to local repository without running the tests:

mvn clean install -DskipTests

Install all modules to the local repository after running all the tests:

mvn clean install

Perform a subset tests on the packaged release artifacts without installing:

mvn clean verify -Dtest=TestNamePattern*

Execute the tests and produce code coverage report:

mvn clean test jacoco:report

Examples

First build and install all the modules as detailed above (if running against a source checkout/release, rather than against released binaries) and then consult the README in the qpid-jms-examples module itself.

Documentation

There is some basic documentation in the qpid-jms-docs module.

Distribution assemblies

After building the modules, src and binary distribution assemblies can be found at:

apache-qpid-jms/target