Running Business Processes and Composite Applications 10.4 | Running Business Processes and Composite Applications | Universal Messaging Administration Guide | Using Command Central to Manage Universal Messaging | Universal Messaging and the Command Line Interface | Commands for Snooping on Queues | Start Snooping on a Queue
 
Start Snooping on a Queue
*To start snooping on events on a queue for a specific user:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues startSnoop name=queue_name user=user_name
*To start snooping on events on a queue for a specific user with filtering criteria:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
queues startSnoop name=queue_name user=user_name [fromeid=first_event_id]
[toeid=last_event_id] [filter=filter_string]
Arguments and Options
Argument or Option
Value
Universal-Messaging-server_instance_name
Required. The ID of the Universal Messaging server instance on which you want to snoop.
name=queue_name
Required. The name of the queue on which you want to snoop.
user=user_name
Required. The username of the user for whom you want to start snooping.
[fromeid=first_event_id]
Optional. The ID of the first event in the event range on which you want to start snooping.
[toeid=last_event_id]
Optional. The ID of the last event in the event range on which you want to start snooping.
[filter=filter_string]
Optional. Additional filtering criteria based on the properties of the event.
Usage Notes
When you want to start snooping on a range of events:
*If you do not specify fromeid, the range of events starts with the first event on the queue and ends with the event specified for toeid.
*If you do not specify toeid, the range of events starts with the event specified for fromeid and ends with the last event on the queue.
Examples
*To start snooping on events on queue "queue1", created on the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", for user "Administrator":
sagcc exec administration component sag01 Universal-Messaging-umserver
queues startSnoop name=queue1 user=Administrator
*To start snooping on the events with IDs from "2" to "10" on queue "queue1", created on the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", for user "Administrator":
sagcc exec administration component sag01 Universal-Messaging-umserver
queues startSnoop name=queue1 user=Administrator fromid=2 toid=10

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release