Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IDestinationResolver.ResolveDestinationName Method

Resolve the given destination name, either as located resource or as dynamic destination.

[Visual Basic]
Public Sub ResolveDestinationName( _
   ByVal session As ISession, _
   ByVal destinationName As String, _
   ByVal pubSubDomain As Boolean _
)
[C#]
IDestination ResolveDestinationName(
   ISession session,
   string destinationName,
   bool pubSubDomain
);

Parameters

session
the current NMS Session
destinationName
the name of the destination
pubSubDomain
true
if the domain is pub-sub,
false
if P2P

Return Value

the NMS destination (either a topic or a queue)

See Also

IDestinationResolver Interface | Spring.Messaging.Nms.Support.Destinations Namespace