1. A method for optimizing message processing comprising the steps of: collecting processing characteristic information for various message types; recording processing characteristic information for each such various message type collected; generating from the recorded processing characteristic information, quantitative data regarding the performance and other characteristics of each such various message type; receiving a message; identifying the message type of the received message; determining whether an optimized handler should be used to process messages of the identified message type based on the quantitative data regarding the performance and other characteristics of each such various message type; generating an optimized handler for the identified message type if it is determined that an optimized handler should be used, and an optimized handler is not available for the identified message type; and processing messages of the identified message type with the optimized handler associated therewith, if it has been determined that an optimized handler should be utilized.