Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.BrowseSelectedWithDelegate(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 NotOverridable Overloads Sub BrowseSelectedWithDelegate( _
   ByVal messageSelector As String, _
   ByVal action As BrowserDelegate _
) _
    Implements IEmsOperations.BrowseSelectedWithDelegate
[C#]
public object BrowseSelectedWithDelegate(
   string messageSelector,
   BrowserDelegate action
);

Parameters

messageSelector
The EMS message selector expression (or
null
if none).
action
The action callback delegate that exposes the session/browser pair.

Implements

IEmsOperations.BrowseSelectedWithDelegate

Exceptions

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

See Also

EmsTemplate Class | Spring.Messaging.Ems.Core Namespace | EmsTemplate.BrowseSelectedWithDelegate Overload List