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

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Sub Commit
C#
void Commit()
Visual C++
void Commit()
JavaScript
function commit();

See Also