public void commit ( ) throws ServiceBusException , InterruptedException { if ( this . messagingFactory == null ) { throw new ServiceBusException ( false , "MessagingFactory should not be null" ) ; } this . messagingFactory . endTransaction ( this , true ) ; }
Commits the transaction