With the rapid development of Service-Oriented Architecture (SOA), more and more enterprise applications are built on the Enterprise Services Bus (ESB). An Enterprise Service Bus is an open standard, message-based, distributed integration infrastructure. It is called as distributed services, integrated interaction. ESB is responsible for routing of message of all services or components, so when ESB is faced with large-scale messages routing, processing efficiency of messages on ESB will directly affect the processing speed of business processes. From an actual project, a coal mine warning system project, it can be verified, when business process described by BPEL is deployed on ESB, the larger the message load, the slower the processing speed of the process.