A method and system for providing advanced messaging middleware
functionality that is capable of handling message groups. Advanced
messaging middleware (AMM) utility responds to the receipt of members of
a message group by forwarding the message groups to a single consumer
application of a multiple-consumer cluster application. Group messages
comprise group identification (ID), and the AMM utility binds the group
ID to a single consumer application. All subsequent messages of the
message group are forwarded to that particular consumer application,
while other messages are forwarded to other consumer applications within
the application cluster. When the message group includes a number (group
count) field indicating the number of messages within the message group,
an aggregator component stores all members of a message group before
forwarding the collected members in one sequence to the single consumer
application.