Ecotone version(s) affected: latest
Description
Currently, if an asynchronous endpoint in Ecotone starts a transaction before the InstantRetryInterceptor, the retry logic executes inside an already active transaction.
This leads to incorrect behavior: retries happen mid-transaction, which can cause inconsistent state or partially committed changes.
Expected behavior:
If a transaction has already been started by the asynchronous endpoint, Ecotone should not execute Instant Retry. Instead, the message should simply fail, get redelivered using delayed retry.