MR::retry

Description

This iRule command sends the current message to the router for routing. It instructs the Message Routing Framework submit the current message to the router to retry routing. This will clear the message’s route status. The script may need to clear the message’s existing nexthop and route fields if a new routetable lookup is desired. If a persistence record exists for this message, it may also need to be reset.

Syntax

MR::retry

Examples

when MR_FAILED {
    if {[MR::message retry_count] < 2} {
        MR::message nexthop none
        MR::message route config tc1 host "10.1.1.1:1234"
        MR::retry
    }
}