At generation you can define whether a message to a service-controlled queue is to be placed back in the queue if the transaction in which the message was read is rolled back. You can also limit the number of redeliveries at generation (MAX statement, REDELIVERY operand). This prevents, for example, endless loops if a program error occurs.
MAX statement in section "MAX - define UTM application parameters" |
REDELIVERY= (...,number2)
number2 is the maximum number of redeliveries of messages to a service-controlled queue (0 <= number2 <= 255).
Values between 0 and 254 indicate the number of redeliveries. The value 255 means that the message can be redelivered any number of times.
Default 255, i.e. the number of redeliveries is unlimited.