Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
SOA Retry intervall

Hi,
one question to the Retry mechanism in SOA, in the configuration you can set the retry intervall as Fix value, is it possible to set it as a dynamic value, for example:
First Retry wait 1 Minute,
Second Retry wait 3 Minute
and so on ?
Thanks
Answers
-
How is ADF and JDeveloper used.?
Set a retry delay.
Retry: Provides the following actions for retrying the activity.
- Retry a specified number of times.
- Provide a delay between retries (in seconds).
- Increase the interval with an exponential back off.
- Chain to a retry failure action if retry N times fails.
- Chain to a retry success action if a retry is successful.
Note: Exponential back off indicates that the next retry attempt is scheduled at
2
x the delay, where delay is the current retry interval. For example, if the current retry interval is2
seconds, the next retry attempt is scheduled at4
, the next at8
, and the next at16
seconds until theretryCount
value is reached.<Action id="ora-retry"> <Retry> <retryCount>3</retryCount> <retryInterval>2</retryInterval> <exponentialBackoff/> <retryFailureAction ref="ora-java"/> <retrySuccessAction ref="ora-java"/> </Retry> </Action>
Note the following details:
- The framework chains to the retry success action if the retry attempt is successful.
- If all retry attempts fail, the framewor
-
is it possible to set it as a dynamic value
What is a dynamic value?
-
thanks for your response.
The aim is, a special JMS Queue must be run into retry if a (special) error comes up, configuration for special queue must be like this one: Retry Delay 1 5 sek. 2 29 sek. 3 58 sek. 4 abort Is this in OSB reliable configurable ? My known is so, it exists 2 Configurable location for this: 1. osb Server configuration ( under "web services" on Weblogic GUI) with exponentiell Backoff 2. in the special Queue But both are not dynamic in setting the delay Parameter, i search a possibility to change the Delay seconds depends on retry count dynamically (not Exponentiell or one delay value for all retry counts...) Thanks.
-
The condition for an action may be set in Conditions in fault-policies.xml. Multiple retries may be set.
<Conditions> ... ... <condition> <action ref="ora-retry-1"/> </condition> <condition> <action ref="ora-retry-2"/> </condition> <condition> <action ref="ora-retry-3"/> </condition> <condition> <action ref="ora-retry-4"/> </condition> ... </Conditions> <Actions> <!--This action will attempt 1 retry with intervals of 5 seconds --> <Action id="ora-retry-1"> <retry> <retryCount>1</retryCount> <retryInterval>5</retryInterval> <retryFailureAction ref="java-fault-handler"/> </retry> </Action> <!--This action will attempt 1 retry with intervals of 29 seconds --> <Action id="ora-retry-2"> <retry> <retryCount>1</retryCount> <retryInterval>29</retryInterval> <retryFailureAction ref="java-fault-handler"/> </retry> </Action> <!--This action will attempt 1 retry with intervals of 58 seconds --> <Action id="ora-retry-3"> <retry> <retryCount>1</retryCount> <retryInterval>58</retryInterval> <retryFailureAction ref="java-fault-handler"/> </retry> </Action> <!--This action will cause the instance to terminate--> <Action id="ora-terminate"> <abort/> </Action>
-
Thank you dvohra21.
Did anyone know how can Configure the Fault Policy on the Weblogic/Console GUI ?
I know it is via JDeveloper normal way...
Thank you.