I have requirement to customize Synchronous UntilSuccessful scope with an ObjectStore. But I could not, because below exception is thrown:
Caused by: org.mule.api.lifecycle.InitialisationException: Until successful cannot be configured to be synchronous and use an object store.
at org.mule.routing.SynchronousUntilSuccessfulProcessingStrategy.initialise(SynchronousUntilSuccessfulProcessingStrategy.java:75)
.
It is apparent that the initialise() method of SynchronousUntilSuccessfulProcessingStrategy class throws this exception.
So I have overridden this method with dummy implementation by extending SynchronousUntilSuccessfulProcessingStrategy class, say for example the extended class is ObjectStoreAwareSynchronousUntilSuccessful.
Now my question is, how can I intstruct the Mule flows to look at my extended class rather than the original class?
Any suggestion would be appreciated. Thanks in advance.