Event forwarding, disable retry
Have built a module for forwarding control of events to external system and looking for a way to set forwarding state to failed without BSM issuing retries for 1 hour. Is there a way to turn off auto-retry of event forwarding? Perhaps a way to manually set state of forwarding to Delivery failed? Not even throwing an exception will set the delivery state to failed.
The problem with this is that when the event is in a retry-state it is not possible to transfer control to a different external system.
Thanks in advance for any input.
I solved this by throwing a RuntimeException which is handled differently than the more generic Exception. Probably/hopefully there is a more programmatic way to do this.. br