Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MessageQueueTemplate.ReceiveAndConvert(String) Method

Receives and convert a message synchronously from the specified message queue.

[Visual Basic]
Public NotOverridable Overloads Sub ReceiveAndConvert( _
   ByVal messageQueueObjectName As String _
) _
    Implements IMessageQueueOperations.ReceiveAndConvert
[C#]
public object ReceiveAndConvert(
   string messageQueueObjectName
);

Parameters

messageQueueObjectName
Name of the message queue object.

Return Value

the converted object

Implements

IMessageQueueOperations.ReceiveAndConvert

Exceptions

Exception Type Condition
MessageQueueException if thrown by MSMQ API methods. Note an exception will be thrown if the timeout of the syncrhonous recieve operation expires.

See Also

MessageQueueTemplate Class | Spring.Messaging.Core Namespace | MessageQueueTemplate.ReceiveAndConvert Overload List