Abstract:
A method for processing a message by a message provider that includes receiving, for a topic, a mutual exclusion function from each application instance of a plurality of application instances, receiving the message for the topic, and sending the message to one application instance of the plurality of application instances based on executing each of the mutual exclusion functions, wherein the mutual exclusion functions ensure that the message is sent to a single application instance of the plurality of application instances.
Abstract:
A method for processing a message that includes receiving the message by a plurality of resource adapters (RA), wherein each RA corresponds to a different application instance of a plurality of application instances, calculating, by each RA of the plurality of RAs, a selector string using an application instance selection portion of the message, determining, by each RA of the plurality of RAs, whether the selector string calculated by the RA identifies the application instance corresponding to the RA, transmitting the message, by each RA of the plurality of RAs, to the application instance corresponding to the RA when the selector string calculated by the RA identifies the application instance, and discarding the message, by each RA of the plurality of RAs, when the selector string calculated by the RA does not identify the application instance corresponding to the RA, wherein one RA of the plurality of RAs transmits the message to the application instance corresponding to the RA and the remaining RAs of the plurality of RAs discard the message.
Abstract:
In general, the invention relates to a system that includes a UUID cache and a UUID caching mechanism. The UUID caching mechanism is configured to, using a first thread, monitor the number of UUIDs stored in the UUID cache, determine that the number of UUIDs stored in the UUID cache is less than a first threshold, request a first set of UUIDs from a UUID generator, receive the first set of UUIDs from the UUID generator, and store the first set of UUIDs received from the UUID generator in the UUID cache. The UUID caching mechanism is further configured to provide a second set of UUIDs to a first application using a second thread, where at least one of the UUIDs in the second set of UUIDs is from the first set of UUIDs, and where the first thread and the second thread execute concurrently.
Abstract:
A method for processing a message that includes receiving the message by a plurality of resource adapters (RA). The method includes calculating a selector string using an application instance selection portion of the message, determining whether the selector string calculated by the RA identifies the application instance corresponding to the RA, transmitting the message to the application instance corresponding to the RA when the selector string calculated by the RA identifies the application instance, and discarding the message when the selector string calculated by the RA does not identify the application instance corresponding to the RA, where one RA transmits the message to the application instance corresponding to the RA and the remaining RAs discard the message.
Abstract:
A method for processing a message by a message provider that includes receiving, for a topic, a mutual exclusion function from each application instance of a plurality of application instances, receiving the message for the topic, and sending the message to one application instance of the plurality of application instances based on executing each of the mutual exclusion functions, wherein the mutual exclusion functions ensure that the message is sent to a single application instance of the plurality of application instances.
Abstract:
In general, the invention relates to a system that includes a UUID cache and a UUID caching mechanism. The UUID caching mechanism is configured to, using a first thread, monitor the number of UUIDs stored in the UUID cache, determine that the number of UUIDs stored in the UUID cache is less than a first threshold, request a first set of UUIDs from a UUID generator, receive the first set of UUIDs from the UUID generator, and store the first set of UUIDs received from the UUID generator in the UUID cache. The UUID caching mechanism is further configured to provide a second set of UUIDs to a first application using a second thread, where at least one of the UUIDs in the second set of UUIDs is from the first set of UUIDs, and where the first thread and the second thread execute concurrently.