Skip to content
Permalink
Browse files
Apply patch from Jose Alvarado. Thanks, Jose!
  • Loading branch information
Jim Gomes committed Jul 6, 2015
1 parent 9a7b5ee commit ea9826fa118e3a1bd8db43a0cc983d572a24b8fe
Showing 2 changed files with 7 additions and 1 deletion.
@@ -40,6 +40,10 @@ public interface INetTxConnection : IConnection
/// Creates a INetTxSession object and enlists in the specified Transaction.
/// </summary>
INetTxSession CreateNetTxSession(Transaction tx);

INetTxSession CreateNetTxSession(bool enlistsNativeMsDtcResource);

INetTxSession CreateNetTxSession(Transaction tx, bool enlistsNativeMsDtcResource);
#endif
}
}
@@ -29,7 +29,7 @@ namespace Apache.NMS
/// The NMS Provider implements this interface by participating in the current ambient transaction
/// as defined by the System.Transactions.Transaction.Current static member. Whenever a new
/// Transaction is entered the NMS provider should enlist in that transaction. When there is no
/// ambient transaction then the NMS Prodiver should allow the INetTxSession instance to behave
/// ambient transaction then the NMS Provider should allow the INetTxSession instance to behave
/// as a session that is in Auto Acknowledge mode.
///
/// Calling the Commit or Rollback methods on a INetTxSession instance should throw an exception
@@ -49,6 +49,8 @@ public interface INetTxSession : ISession
/// be thrown.
/// </summary>
void Enlist(Transaction tx);

bool EnlistsMsDtcNativeResource { get; set; }
#endif
}
}

0 comments on commit ea9826f

Please sign in to comment.