Managing Ensemble Productions - InterSystems Documentation
Managing Ensemble Productions - InterSystems Documentation
Managing Ensemble Productions - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Configuration Settings<br />
Table 5–2: Code Values for Reply Code Actions<br />
Code<br />
E<br />
E#statuscode<br />
E*text<br />
X<br />
Meaning<br />
Error status returned from message handler.<br />
Error status returned from message handler has status code equal to statuscode.<br />
Error status returned from message handler contains text string text.<br />
There is no reply message object at all.<br />
The following values for action may be used alone or combined to form strings.<br />
Table 5–3: Action Values for Reply Code Actions<br />
Action<br />
C<br />
W<br />
R<br />
S<br />
D<br />
F<br />
Meaning<br />
Treat the document as Completed OK.<br />
Log a warning but treat the document as Completed OK.<br />
Retry the message according to the configured Retry Interval and Failure Timeout settings; finally Fail,<br />
unless a different action is also specified.<br />
Suspend the message, log an error, and move on to try the next message (the default).<br />
Disable the business process or operation, log an error, and restore the outbound message to the<br />
front of the business host queue.<br />
When you choose the disable action for a business process, you must configure the business with<br />
a Pool Size = 1 or greater if you want all instances of only this business process to stop. If the business<br />
process has a Pool Size = 0, the disable action disables all business processes that share the actor<br />
pool. See the Pool Size section in the “Production Concepts” chapter of Developing <strong>Ensemble</strong><br />
<strong>Productions</strong> for details.<br />
Fail with an error and move on to try the next message.<br />
For example:<br />
E#6301=R,E#ErrGeneral=R,E=F<br />
The default value for the Reply Code Actions string is:<br />
E=F<br />
Which means when there is an error, fail and move on to try the next message.<br />
All codes where the actions consists of only W (log a Warning) are evaluated and warnings generated if they trigger. Other<br />
codes are evaluated in left-to-right order, executing the first one that triggers that has a non-warning actions value.<br />
<strong>Managing</strong> <strong>Ensemble</strong> <strong>Productions</strong> 63