Acknowledge
Acknowledge tells the broker that a message has been handled, at the point in the workflow where you place it rather than when the workflow ends.
It works only with a JMS Receiver whose Acknowledgement Mode is
Manual / early acknowledge. That mode is what emits the ackToken this activity consumes.
If the workflow never runs Acknowledge, successful workflow completion still
acknowledges the message.
The activity has three tabs: Configuration, Input, and Output.
Configuration
| Field | Required | Description |
|---|---|---|
| Name | Optional | Name of the step. |
| Description | Optional | Description of what this step does. |
| Source JMS Output Key | Optional | Input object containing ackToken from a manual-mode JMS Receiver. Defaults to jmsOutput. |
Source JMS Output Key names the object the token is read from. It defaults to
jmsOutput, which is what JMS Receiver emits, so it only needs changing if the receiver
output is mapped under a different key.
Input
| Field | Data Type | Description |
|---|---|---|
| jmsOutput.ackToken | String | Manual acknowledgement token emitted by JMS Receiver when Acknowledgement Mode is Manual / early acknowledge. |
Output
The activity returns an acknowledgeOutput object.
| Field | Data Type | Description |
|---|---|---|
| acknowledged | Boolean | True when the JMS source acknowledgement token was accepted. |