Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.Browse(IBrowserCallback) Method

Browses messages in the default 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 Browse( _
   ByVal action As IBrowserCallback _
) _
    Implements IEmsOperations.Browse
[C#]
public object Browse(
   IBrowserCallback action
);

Parameters

action
The action callback object that exposes the session/browser pair.

Return Value

the result object from working with the session

Implements

IEmsOperations.Browse

Exceptions

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

See Also

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