posted 8 years ago
Hi Stanley,
when you create a JMS Session the API requires the parameters "transacted" and "acknowledge mode" because Sessions can be used for both message producers and consumers. But the acknowledge mode only makes sense for message consumers. If the Session is created in an transactional context the acknowledge mode is ignored completely, but you still have to specify a value for it. So I'd say the JMS API is just not as clean as it could be for this part.
Marco