misc fixes for broken build
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -8,8 +8,6 @@ namespace Spring.Messaging.Nms.Connection
|
||||
private int startCount;
|
||||
private int closeCount;
|
||||
private int createSessionCount;
|
||||
private int closeSessionCount;
|
||||
|
||||
|
||||
public int StartCount
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user