Patent attributes
A method and apparatus for processing message is described. In one embodiment, an application programming interface is configured for receiving and sending messages. A building block layer is coupled to the application programming interface. A channel layer is coupled to the building block layer. A transport protocol stack is coupled to the channel layer for implementing properties specified by the channel layer. The transport protocol stack has a concurrent stack consisting of an out of band thread pool and a regular thread pool. The regular thread pool forms one thread for every messages from a sender. The out of band thread pool to form one thread for messages marked as out of band from the sender. Messages processed with the thread from the out of band thread pool are processed before messages processed with the regular thread pool.