Patent ID: 8127021

Claim:
A computer readable medium having instructions stored thereon that, when executed by a processor on a first server, causes the processor to load-balance Java Message Service (JMS) requests, the instructions comprising: receiving a JMS subscription request from a client, wherein the request comprises a topic name for a topic; determining how to service the subscription request; based on the determining, servicing the subscription request by generating one or more messages, wherein the one or more messages comprise one of: a plurality of topic messages, a Redirection directive, or a Join directive; and sending the one or more messages to the client; wherein the Redirection directive comprises directing the client to send the subscription request to a second server; wherein the Join directive comprises directing the client to generate a second subscription request to the second server, and in response receive a first part of the topic from the first server and a second part of the topic from the second server.