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.