Patent ID: 7437417

Claim:
A computer implemented method for connecting a client in a local publish/subscribe messaging system to a remote broker, wherein a metabroker application is a client of a community broker that is local to a plurality of clients and represents said remote broker, the method comprising: using a publish/subscribe messaging system to proxy messages received at the metabroker application between the plurality of clients and said remote broker, wherein proxying messages between the plurality of clients and said remote broker comprises: i) receiving a message, originating at a given client within the plurality of clients and destined for the remote broker, by subscribing to the community broker in order to receive such messages, and forwarding the received message to the remote broker; and ii) publishing a message received from a remote broker to the community broker using a topic designated as a topic for remote broker messages, thereby enabling a subset of clients within the plurality of clients to subscribe to the topic at the community broker in order to receive messages from the remote broker, wherein each of the plurality of clients has a software library that converts messages intended for the remote broker to special messages to the community broker and wherein the metabroker application receives the special messages as a subscriber; wherein the software library publishes the special messages to one or more metabroker wildcard topics and wherein the metabroker application subscribes to receive messages published to the one or more metabroker wildcard topics; and wherein the metabroker application publishes messages to the one or more metabroker wildcard topics and wherein the software library receives messages published to the one or more metabroker wildcard topics.