Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsDestinationAccessor.ResolveDestinationName Method

Resolves the given destination name to a NMS destination.

[Visual Basic]
Public Overridable Sub ResolveDestinationName( _
   ByVal session As ISession, _
   ByVal destinationName As String _
)
[C#]
public virtual IDestination ResolveDestinationName(
   ISession session,
   string destinationName
);

Parameters

session
The current session.
destinationName
Name of the destination.

Return Value

The located IDestination

Exceptions

Exception Type Condition
NMSException If resolution failed.

See Also

NmsDestinationAccessor Class | Spring.Messaging.Nms.Support.Destinations Namespace