Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate Class

Helper class that simplifies EMS access code.

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

System.Object
   EmsAccessor
      EmsDestinationAccessor
         EmsTemplate

[Visual Basic]
Public Class EmsTemplate
    Inherits EmsDestinationAccessor
    Implements IEmsOperations
[C#]
public class EmsTemplate : EmsDestinationAccessor, IEmsOperations

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 EMS 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 EMS 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.Ems.Core

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

See Also

EmsTemplate Members | Spring.Messaging.Ems.Core Namespace