摘要 |
A mechanism for preventing overload in enterprise application integration (EAI) services. A method includes determining, by a processing device executing enterprise application integration (EAI) system, a first location in a chain of services in the EAI. The method also includes providing, by the processing device, access for insertion of an overload prevention service beginning (OPSB) at the first location in the chain of services in the EAI. The OPSB includes a service in the chain of services and counts number of messages processed in the EAI service. The method also includes determining, by the processing device, a second location in the chain of services in the EAI. The second location occurs after the first location in the chain of services in the EAI. The method further providing, by the processing device, access for the insertion of an overload prevention service end (OPSE) at the second location in the chain of services in the EAI. The OPSB is in communication with the OPSE and the OPSE comprises a service in the chain of services and is in communication with the OPSB. |