mirror of https://github.com/apache/activemq.git
Set accepted outcome for successful commit and rollback.
This commit is contained in:
parent
6056fde7ed
commit
e06e23b9f3
|
@ -688,6 +688,8 @@ class AmqpProtocolConverter implements IAmqpProtocolConverter {
|
|||
Rejected rejected = new Rejected();
|
||||
rejected.setError(createErrorCondition("failed", er.getException().getMessage()));
|
||||
delivery.disposition(rejected);
|
||||
} else {
|
||||
delivery.disposition(Accepted.getInstance());
|
||||
}
|
||||
LOG.debug("TX: {} settling {}", operation, action);
|
||||
delivery.settle();
|
||||
|
|
Loading…
Reference in New Issue