update Apache NMS libraries to svn revision 685750
This commit is contained in:
@@ -33,6 +33,11 @@ namespace Spring.Messaging.Nms.Connections
|
||||
return new TestSession();
|
||||
}
|
||||
|
||||
public ISession CreateSession(AcknowledgementMode acknowledgementMode, TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
closeCount++;
|
||||
|
||||
@@ -27,7 +27,8 @@ namespace Spring.Messaging.Nms.Connections
|
||||
public class TestMessageProducer : IMessageProducer
|
||||
{
|
||||
private bool persistent;
|
||||
private TimeSpan timeToLive = new TimeSpan(0,0,0,60,0);
|
||||
private TimeSpan timeToLive = new TimeSpan(0,0,0,60,0);
|
||||
private TimeSpan requestTimeout;
|
||||
|
||||
public void Send(IMessage message)
|
||||
{
|
||||
@@ -49,6 +50,11 @@ namespace Spring.Messaging.Nms.Connections
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void Close()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessage CreateMessage()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
@@ -96,6 +102,12 @@ namespace Spring.Messaging.Nms.Connections
|
||||
set { timeToLive = value; }
|
||||
}
|
||||
|
||||
public TimeSpan RequestTimeout
|
||||
{
|
||||
get { return requestTimeout; }
|
||||
set { requestTimeout = value; }
|
||||
}
|
||||
|
||||
public byte Priority
|
||||
{
|
||||
get { return 1; }
|
||||
|
||||
@@ -59,11 +59,21 @@ namespace Spring.Messaging.Nms.Connections
|
||||
return new TestMessageProducer();
|
||||
}
|
||||
|
||||
public IMessageProducer CreateProducer(IDestination destination, TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateConsumer(IDestination destination)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateConsumer(IDestination destination, TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateConsumer(IDestination destination, string selector)
|
||||
{
|
||||
//IConnectionFactory connectionFactory = (IConnectionFactory)mocks.CreateMock(typeof(IConnectionFactory));
|
||||
@@ -71,16 +81,43 @@ namespace Spring.Messaging.Nms.Connections
|
||||
return msgConsumer;
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateConsumer(IDestination destination, string selector, TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateConsumer(IDestination destination, string selector, bool noLocal)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateConsumer(IDestination destination, string selector, bool noLocal,
|
||||
TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateDurableConsumer(ITopic destination, string name, string selector, bool noLocal)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IMessageConsumer CreateDurableConsumer(ITopic destination, string name, string selector, bool noLocal,
|
||||
TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void DeleteDurableConsumer(string name)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void DeleteDurableConsumer(string name, TimeSpan requestTimeout)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public IQueue GetQueue(string name)
|
||||
{
|
||||
return new ActiveMQQueue(name);
|
||||
|
||||
Reference in New Issue
Block a user