Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.Receive Method

Receive a message synchronously from the default destination, but only wait up to a specified time for delivery.

This method should be used carefully, since it will block the thread until the message becomes available or until the timeout value is exceeded.

This will only work with a default destination specified!

Overload List

Receive a message synchronously from the default destination, but only wait up to a specified time for delivery. This method should be used carefully, since it will block the thread until the message becomes available or until the timeout value is exceeded.This will only work with a default destination specified!

public IMessage Receive()

Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery. This method should be used carefully, since it will block the thread until the message becomes available or until the timeout value is exceeded.

public IMessage Receive(IDestination)

Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery. This method should be used carefully, since it will block the thread until the message becomes available or until the timeout value is exceeded.

public IMessage Receive(string)

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace