Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate Class

Helper class that simplifies NMS access code.

For a list of all members of this type, see NmsTemplate Members .

System.Object
   NmsAccessor
      NmsDestinationAccessor
         NmsTemplate

[Visual Basic]
Public Class NmsTemplate
    Inherits NmsDestinationAccessor
    Implements INmsOperations
[C#]
public class NmsTemplate : NmsDestinationAccessor, INmsOperations

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

If you want to use dynamic destination creation, you must specify the type of NMS destination to create, using the "pubSubDomain" property. For other operations, this is not necessary. Point-to-Point (Queues) is the default domain.

Default settings for NMS Sessions is "auto-acknowledge".

This template uses a DynamicDestinationResolver and a SimpleMessageConverter as default strategies for resolving a destination name or converting a message, respectively.

Requirements

Namespace: Spring.Messaging.Nms.Core

Assembly: Spring.Messaging.Nms (in Spring.Messaging.Nms.dll)

See Also

NmsTemplate Members | Spring.Messaging.Nms.Core Namespace