in JMS API, we ve below method QueueConnection.createQueueSession(boolean transacted, int acknowledgeMode)
I m wondering what exactly does the transacted parameter means? I know when set it as true, we need to call QueueSession.commit() method after finish sending or receiving, but how about set it to false? does this means the sending/receiving operations is not trustable? or it s still ok?, if it s still ok, then why do we need to difference the cases?
or set it to true is only for cases that we need to put multiple messages in one transaction? thx.