I am just trying to let a service retry whenever a transient error pops up. I have followed the guide (https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite10-1/Integration_Server/10-1_Publish_Subscribe_Developers_Guide.pdf), but its still not working.
This is my flow:
- I publish a user
- With a webMethods trigger i invoke my subscribeUser service
- In my subscribe user i try to insert the user into a database with an adapter in a try sequence
- In my catch sequence i throw a throwExceptionForRetry
When my adapter connection is enabled everything is working fine, when i disable him i would like my user to be retried, but this isnt working. I have tried alot of settings already, these are my settings right now:
retry until: max attempts reached
max retry attempts: 0
retry interval: 10 secs
on retry failure: suspend and retry later
resource monitoring: flow:monitor
In my monitor service i always return isAvailable as true (just for testing purposes)