misc fixes for broken build

This commit is contained in:
markpollack
2008-07-18 21:42:08 +00:00
parent 92b421f7cb
commit 643578e1e7
4 changed files with 6 additions and 17 deletions

View File

@@ -210,10 +210,11 @@ namespace Spring.Messaging.Nms.Connection
LOG.Debug("Committing NMS transaction on Session [" + session + "]");
}
session.Commit();
///https://issues.apache.org/activemq/browse/AMQNET-93
///TODO - need to mirror JMS exception classes in NMS API.
//} catch (TransactionRolledBackException ex)
//{
/** https://issues.apache.org/activemq/browse/AMQNET-93
TODO - need to mirror JMS exception classes in NMS API.
} catch (TransactionRolledBackException ex)
{
*/
}
catch (NMSException ex)

View File

@@ -267,7 +267,7 @@ namespace Spring.Messaging.Nms.Connection
}
} catch (Exception ex)
{
LOG.Warn("Could not close shared NMS connection.");
LOG.Warn("Could not close shared NMS connection.", ex);
}
}

View File

@@ -578,16 +578,6 @@ namespace Spring.Messaging.Nms.Listener
#endregion
protected virtual IConnection CreateConnection()
{
return ConnectionFactory.CreateConnection();
}
protected virtual ISession CreateSession(IConnection con)
{
return con.CreateSession(SessionAcknowledgeMode);
}
protected virtual bool IsClientAcknowledge(ISession session)
{
return (session.AcknowledgementMode == AcknowledgementMode.ClientAcknowledge);

View File

@@ -8,8 +8,6 @@ namespace Spring.Messaging.Nms.Connection
private int startCount;
private int closeCount;
private int createSessionCount;
private int closeSessionCount;
public int StartCount
{