Closed alisihab closed 6 months ago
Receiver#retryMessage is transactional?
Retrying will create a new transaction using the TX_NEW definition.
It will then propagate to the default flow, taking the Receiver's transactionAttribute
into account.
Explicitly setting it is not required.
If you set it to NotSupported
it will remove the transaction and process the message untransacted. (This is not a likely scenario because you wouldn't be able to use the ErrorStorage if that's the case 🤭.
We should rename this issue to "When messages are resend from the errorstore and run into error they disappear"
It could be the fact that we are using a non XA database connection and the adapter is transacted and connects to JMS?
How it could work better!
Created issue #6393
At this time the errorstore needs to use a transactional datasource for the errorstore to work correctly. This is tested and has the required behavior.
As a feature it would be nice to have the setup as described earlier in this issue so we can use similar solution as used for the error store on filesystem. Add a hook to resend via a schedule and even have a resend history.
We can close the issue and I will create a feature request https://github.com/frankframework/frankframework/issues/6428
❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue I had a few messages in error store. I resent the messages. All failed to be processed at some point in the pipeline. But the messages are never returned to the error store.
Below I paste the receiver and the pipeline. The pipeline throws an error when resolving the ServiceCode param since the messageContext is not stored in the error store the contextKey is not available and converting NULL to number fails. However, the message in error store are not restored.
Reporter Ali/Jeroen
FF: 7.9-20230811.190015