# Auto Recovery of Messages When EMS is the ESB

Substation ES attempts to recover any Guaranteed messages waiting in a queue on the TIBCO EMS server, as well as messages that are used in Guaranteed Services where delivery failed to a z/OS transaction. These are active Recipes in the configuration file, with an SMSL of GA or GS.

Note: This section applies to CICS and IMS services.

When reconnecting to the EMS server, Substation ES automatically attempts to recover any unprocessed messages that remain in the EMS queue. This includes messages that were read but not processed because the back-end system might have been unavailable. This capability is available only for queues that are used in Guaranteed Services.

When a back-end system reconnects during a Substation session, Substation ES sends an internal recover command to the EMS server and displays information about this in the Substation log. This message is displayed, followed by messages showing which services might have been recovered:

    SXA2650I Internal Command 'RECOVER,*,interface'
    SXG2075I Requesting Auto Recovery for IId:interface
    SXT5868I Recovery successful for RID:recipe-service

Note: Only recipes with SMSL of GA or GS are recovered.
Copyright © TIBCO Software Inc. All rights reserved.