The NMS Class Library (.Net Messaging Library)

ISession.Commit Method 

If this is a transactional session then commit all message send and acknowledgements for producers and consumers in this session

void Commit();

See Also

ISession Interface | NMS Namespace