1. A system for routing messages to Manufacturing and Execution System (MES) applications, comprising: a gateway component configured to receive a message specifying a production objective, at least one constraint on performance of the production objective, and a time range during which the at least one constraint is in effect, the gateway component comprising: a parsing component configured to identify the production objective and the at least one constraint within the message; an optimization component configured to select an MES application from a plurality of available MES applications according to a defined selection criterion based on the production objective, the at least one constraint, and the time range; and a message routing component configured to route the message to the MES application.