I don’t believe that durable subscriber that be the solution.
Let me explain the process:
1 - JMS Trigger gets the message from queue
2 - Flow Service is started
2.1 - The message is mapped to a variable
2.2 - One operation is executed
2.2.1 - The operation raises a exception
3 - Service ended with error
I created a PoC for validate this scenario and the messages are consumed even when occurs a error, but the message should not be consumed because the flow is ended in error.
In other tools the developer must place a explicit confirmation of ack in the flow when the CLIENT_ACNOWLEDGE is configured, this way the message is removed of queue only the flow execute the ack activity, whether in success or in error.
As I see in webMethods the JMS TRIGGER encapsulate all of this, but don’t have any control when flow end in error.
Whatever is result of flow the ack will be executed and the message will be removed from queue.
How control the ack when a exception occurs?
I attached a image of my PoC to validate this scenario.
#webMethods#Universal-Messaging-Broker#Integration-Server-and-ESB