Creates a consumer of messages on a given destination
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateConsumer ( _ destination As IDestination _ ) As IMessageConsumer |
| C# |
|---|
IMessageConsumer CreateConsumer( IDestination destination ) |
| Visual C++ |
|---|
IMessageConsumer^ CreateConsumer( IDestination^ destination ) |
| JavaScript |
|---|
function createConsumer(destination); |
Parameters
- destination
- Type: Apache.NMS..::..IDestination