此内容没有您所选择的语言版本。
5.2.4. Receiving Messages from Multiple Sources
Prerequisites:
A
Receiver
object receives messages from a single subscription. An application can create many receivers, and may wish to deal with messages from these various receivers in the order that the messages are received. The session
object provides a method nextReceiver
that allows an application to read messages from multiple receivers in a federated order.
Note: To use the Next Receiver feature,
prefetch
must be enabled for the receivers, and the receivers must be using the same session.
- Python
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - C++
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - .NET/C#
Copy to Clipboard Copied! Toggle word wrap Toggle overflow