主权项 |
1. A computer system comprising:
a hardware processor, a computer readable memory, and a non-transitory computer readable storage medium; first program instructions to connect a client to a first messaging component over a connection, wherein the first messaging component is implemented on a first computer; second program instructions to provide identification information of a destination message queue that the client intends to communicate to, wherein the destination message queue is used in a point to point messaging system, wherein the destination message queue is located on a second messaging component on a second computer, and wherein the second messaging component has been selected by a workload management component in the first messaging component in the first computer to store the destination message queue; third program instructions to receive a reference of the destination message queue, wherein the reference identifies the second messaging component upon which the destination message queue is located; fourth program instructions to identify, based on the reference, the second messaging component that has the destination message queue localized thereon; and fifth program instructions to, in response to determining that the destination message queue is not located in the first messaging component, use the reference to route the connection from the client to the second messaging component that has the destination message queue localized thereon, wherein a session connection between the client and the second messaging component that has the destination message queue localized thereon is transparently routed to the second messaging component by using the connection from the client to the first computer as a proxy connection to the second computer and the second messaging component; and whereinthe first, second, third, fourth, and fifth program instructions are stored on the non-transitory computer readable storage medium for execution by the hardware processor via the computer readable memory. |