Add ACK control to AMQP Trigger

The idea is:

I would like the AMQP Trigger node to support sending the ACK to the broker only after the workflow has successfully completed.
If the workflow fails, it should be possible to send a different disposition such as RELEASED, REJECT, or MODIFIED, depending on the situation.

My use case:

When consuming messages from a broker like ActiveMQ Artemis, the current behavior acknowledges the message as soon as it is received, regardless of whether the workflow succeeds or fails. This causes messages to be lost even if the workflow execution fails.

I think it would be beneficial to add this because:

This feature would provide greater reliability and flexibility for message-driven workflows. It ensures that messages are only acknowledged after successful processing, and failed workflows can handle messages properly (e.g., requeue, reject, or dead-letter).

Any resources to support this?

AMQP 1.0 protocol documentation (acknowledgment dispositions: ACCEPTED, RELEASED, REJECTED, MODIFIED)
ActiveMQ Artemis documentation on message acknowledgment and redelivery

Are you willing to work on this?

I am not experienced with Node.js development, so I would not be able to implement this myself. However, I would be happy to provide testing and feedback if this feature gets developed.