Details
Description
The documentation (http://incubator.apache.org/activemq/resource-adapter-properties.html) suggests that setting maximumRedeliveries to -1 means "no maximum", i.e. infinite retries.
However, my tests (and the code) show that -1 is equivalent to 0 (i.e. no redelivery).
The patch attempts to fix this.