Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IEmsOperations.BrowseWithDelegate(String, BrowserDelegate) Method

Browses messages in a EMS queue. The callback gives access to the EMS Session and QueueBrowser in order to browse the queue and react to the contents.

[Visual Basic]
Public Sub BrowseWithDelegate( _
   ByVal queueName As String, _
   ByVal action As BrowserDelegate _
)
[C#]
object BrowseWithDelegate(
   string queueName,
   BrowserDelegate action
);

Parameters

queueName
Name of the queue to browse, (to be resolved to an actual destination by a DestinationResolver)
action
The action callback delegate that exposes the session/browser pair.

Exceptions

Exception Type Condition
EMSException If there is any problem accessing the EMS API

See Also

IEmsOperations Interface | Spring.Messaging.Ems.Core Namespace | IEmsOperations.BrowseWithDelegate Overload List