fix build...

This commit is contained in:
markpollack
2008-08-07 15:55:24 +00:00
parent 0f68eb8e07
commit 40a806322d
5 changed files with 34 additions and 31 deletions

View File

@@ -22,39 +22,41 @@ using Apache.NMS;
namespace Spring.Messaging.Nms.Core
{
/// <summary>Specifies a basic set of NMS operations.
/// </summary>
/// <remarks>
/// <p>Implemented by NmsTemplate. Not often used but a useful option
/// to enhance testability, as it can easily be mocked or stubbed.</p>
///
/// <p>Provides <code>NmsTemplate's</code> <code>send(..)</code> and
/// <code>receive(..)</code> methods that mirror various NMS API methods.
/// See the NMS specification and NMS API docs for details on those methods.
/// </p>
/// </remarks>
/// <author>Mark Pollack</author>
/// <author>Juergen Hoeller</author>
/// <author>Mark Pollack (.NET)</author>
/// <summary>
/// Specifies a basic set of NMS operations.
/// </summary>
/// <remarks>
/// <p>Implemented by NmsTemplate. Not often used but a useful option
/// to enhance testability, as it can easily be mocked or stubbed.</p>
/// <p>Provides <code>NmsTemplate's</code>
/// <code>send(..)</code> and
/// <code>receive(..)</code> methods that mirror various NMS API methods.
/// See the NMS specification and NMS API docs for details on those methods.
/// </p>
/// </remarks>
/// <author>Mark Pollack</author>
/// <author>Juergen Hoeller</author>
/// <author>Mark Pollack (.NET)</author>
public interface INmsOperations
{
/// <summary> Execute the action specified by the given action object within
/// a NMS Session.
/// </summary>
/// <remarks>
/// <param name="action">callback object that exposes the session
/// </param>
/// <returns> the result object from working with the session
/// </returns>
/// <throws>NMSException if there is any problem </throws>
object Execute(ISessionCallback action);
/// <summary> Execute the action specified by the given action object within
/// <summary>
/// Execute the action specified by the given action object within
/// a NMS Session.
/// </summary>
/// <param name="action">callback object that exposes the session</param>
/// <returns>
/// the result object from working with the session
/// </returns>
/// <throws>NMSException if there is any problem </throws>
object Execute(ISessionCallback action);
/// <summary>
/// Execute the action specified by the given action object within
/// a NMS Session.
/// </summary>
/// <remarks>
/// <param name="del">delegate that exposes the session</param>
/// <returns> the result object from working with the session
/// <returns>
/// the result object from working with the session
/// </returns>
/// <throws>NMSException if there is any problem </throws>
object Execute(SessionDelegate del);

View File

@@ -27,6 +27,7 @@ namespace Spring.Messaging.Nms.Core
/// Delegate that is used with NmsTemplate's ConvertAndSend method that converts
/// an object.
/// </summary>
/// <remarks>
/// It allows for further modification of the message after it has been processed
/// by the converter. This is useful for setting of NMS Header and Properties.
/// </remarks>

View File

@@ -45,7 +45,7 @@ namespace Spring.Messaging.Nms.Config
public class NmsNamespaceHandlerTests
{
private static string DEFAULT_CONNECTION_FACTORY = "connectionFactory";
private static string DEFAULT_CONNECTION_FACTORY = "ConnectionFactory";
private static string EXPLICIT_CONNECTION_FACTORY = "testConnectionFactory";

View File

@@ -16,7 +16,7 @@
<!-- the default ConnectionFactory -->
<object id="connectionFactory" type="Spring.Messaging.Nms.Connections.TestConnectionFactory, Spring.Messaging.Nms.Tests"/>
<object id="ConnectionFactory" type="Spring.Messaging.Nms.Connections.TestConnectionFactory, Spring.Messaging.Nms.Tests"/>
<object id="testConnectionFactory" type="Spring.Messaging.Nms.Connections.TestConnectionFactory, Spring.Messaging.Nms.Tests"/>

View File

@@ -25,7 +25,7 @@ limitations under the License.
<common>
<logging>
<factoryAdapter type="Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter, Common.Logging">
<arg key="level" value="DEBUG" />
<arg key="level" value="INFO" />
<arg key="showLogName" value="true" />
<arg key="showDataTime" value="true" />
<arg key="dateTimeFormat" value="yyyy/MM/dd HH:mm:ss:fff" />