If this is a transactional session then rollback 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 Rollback
C#
void Rollback()
Visual C++
void Rollback()
JavaScript
function rollback();

See Also