Persistent messaging in a transaction processing environment
First Claim
1. A method of sending a persistent message in a transaction-enabled messaging and queuing system comprising a message queue manager responsible for transferring messages from a sender program to a receiving program via a message queue, the method comprising the step of sending a message to the message queue manager;
- the message being defined by the sender program so as to permit the message queue manager to select whether to treat the message transactionally or non-transactionally;
wherein the message is defined as syncpoint-optional;
wherein the message queue manager selects to handle the message non-transactionally when there is a waiting corresponding receive message on the message queue and accordingly transfers the message direct to the receiving program; and
wherein the message queue manager selects to handle the message transactionally when there is no waiting corresponding receive message on the message queue and accordingly places the message on the message queue and commits the message to non-volatile storage.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and computer program product is provided for sending a persistent message in a transaction-enabled messaging and queuing system. A message queue manager is responsible for transferring messages from a sender program to a receiving program via a message queue. A message is sent from the sender program to the message queue manager. The message is defined to permit the message queue manager to select whether to treat the message transactionally or non-transactionally.
20 Citations
3 Claims
-
1. A method of sending a persistent message in a transaction-enabled messaging and queuing system comprising a message queue manager responsible for transferring messages from a sender program to a receiving program via a message queue, the method comprising the step of sending a message to the message queue manager;
- the message being defined by the sender program so as to permit the message queue manager to select whether to treat the message transactionally or non-transactionally;
wherein the message is defined as syncpoint-optional; wherein the message queue manager selects to handle the message non-transactionally when there is a waiting corresponding receive message on the message queue and accordingly transfers the message direct to the receiving program; and wherein the message queue manager selects to handle the message transactionally when there is no waiting corresponding receive message on the message queue and accordingly places the message on the message queue and commits the message to non-volatile storage. - View Dependent Claims (2)
- the message being defined by the sender program so as to permit the message queue manager to select whether to treat the message transactionally or non-transactionally;
-
3. A computer program product comprising a computer storage medium having computer readable program code means embodied therein for causing a transfer of persistent messages in transaction-oriented environment, the computer readable program code means in said computer program product comprising;
-
computer readable program code for sending a message to a message queue manager, wherein the message queue manager is responsible for transferring the message from a sender program to a receiving program via a message queue, the message being defined so as to permit the message queue manager to select whether to treat the message transactionally or non-transactionally; wherein the message is defined as syncpoint-optional; computer readable program code for selecting to handle the message non-transactionally by transferring the message direct to the receiving program when there is a waiting corresponding receive message on the message queue; and computer readable program code for selecting to handle the message transactionally by placing the message on the message queue and committing the message to non-volatile storage when there is no waiting corresponding receive message on the message queue.
-
Specification