1. A computer-implemented method of batch compression management of messages, comprising: intercepting, by one or more processors, in middleware between a first distributed system and a second distributed system, a new message originating from the first distributed system being sent to a batch for transmission to the second distributed system; determining, by the one or more processors, if a message schema of the new message is of a predefined similarity to message schemas of messages previously assigned to multiple batch pools comprising sub-sets of the batch, wherein the similarity in message schemas comprises a similarity between a majority of elements in a payload of the new message to a majority of elements in the payloads of the messages previously assigned to the multiple batch pools comprising the sub-sets of the batch, and wherein the determining comprises: obtaining, by the one or more processors, from a batch pool mapping database, the message schemas of the messages previously assigned to the multiple batch pools comprising the sub-sets of the batch; comparing, by the one or more processors, the message schemas of the previously assigned messages the to the message schema of the new message; and determining, by the one or more processors, if a given batch pool of the multiple batch pools comprises one or more messages with one or more message schemas of the predefined similarity to the message schema of the new message; based on determining that the given batch pool of the multiple batch pools comprises one or more messages with one or more message schemas of the predefined similarity to the message schema of the new message, assigning, by the one or more processors, the message from the batch to the given batch pool; based on determining that the given batch pool of the multiple batch pools does not comprise one or more messages with one or more message schemas of the predefined similarity to the message schema of the new message, creating, by the one or more processors, a new batch pool for the new message and assigning the new message to the new batch pool; performing, by the one or more processors, a customized compression on the given batch pool using a dictionary of properties common to the one or more message schemas of the one or more messages, wherein the customized compression is an optimized compression that minimizes a number of entries utilized in the dictionary and reduces overhead in the one or more processors, based on the messages in the given batch pool comprising similar message schemas; and transmitting, by the one or more processors, the compressed batch pool over an input/output channel to the second distributed system.