Creates a named durable consumer of messages on a given destination with a selector
Namespace:
Apache.NMSAssembly: Apache.NMS (in Apache.NMS.dll)
Syntax
| Visual Basic |
|---|
Function CreateDurableConsumer ( _ destination As ITopic, _ name As String, _ selector As String, _ noLocal As Boolean _ ) As IMessageConsumer |
| C# |
|---|
IMessageConsumer CreateDurableConsumer( ITopic destination, string name, string selector, bool noLocal ) |
| Visual C++ |
|---|
IMessageConsumer^ CreateDurableConsumer( ITopic^ destination, String^ name, String^ selector, bool noLocal ) |
| JavaScript |
|---|
function createDurableConsumer(destination, name, selector, noLocal); |
Parameters
- destination
- Type: Apache.NMS..::..ITopic
- name
- Type: System..::..String
- selector
- Type: System..::..String
- noLocal
- Type: System..::..Boolean