Freeze Queue operation
The Freeze Queue wrapper stops the delivery of messages in a queue. The following table describes the input parameters for the Freeze Queue wrapper.
Input parameters for the Freeze Queue wrapper
The following figure shows a sample of an adapter request for the Freeze Queue wrapper.
XML sample of an adapter request for the Freeze Queue wrapper
<microsoft-exchange-request>
<command>
<command-name>Freeze-Queue</command-name>
<parameters>
<parameter>
<name>QueueId</name>
<value>{0F5C33F2-B83A-41FA-9BE3-69C6D1314E13}/63328132/63328136</value>
</parameter>
<parameter>
<name>QueueName</name>
<value>PostDSNGenerationQueue</value>
</parameter>
<parameter>
<name>ProtocolName</name>
<value>SMTP</value>
</parameter>
</parameters>
</command>
</microsoft-exchange-request>
<command>
<command-name>Freeze-Queue</command-name>
<parameters>
<parameter>
<name>QueueId</name>
<value>{0F5C33F2-B83A-41FA-9BE3-69C6D1314E13}/63328132/63328136</value>
</parameter>
<parameter>
<name>QueueName</name>
<value>PostDSNGenerationQueue</value>
</parameter>
<parameter>
<name>ProtocolName</name>
<value>SMTP</value>
</parameter>
</parameters>
</command>
</microsoft-exchange-request>
The following figure illustrates the adapter response for Freeze Queue wrapper.
XML sample of the adapter response for the Freeze Queue wrapper
<microsoft-exchange-response>
<metadata>
<status>success</status>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>cscript "C:\Program Files\BMC Software\AO\CDP_75FCS
\server\grids\KGrid\library\adapters\bmc-adapter-microsoft-exchange
-v2003-actor_7.6.00-SNAPSHOT\scripts\freezeAQueue.vbs"
"PostDSNGenerationQueue" "SMTP"</command>
<line-count>8</line-count>
<execution-milliseconds>3735</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index = "1">Attempting to connect to remote host...</line>
<line index = "2">Initialising rctrlx server component...</line>
<line index = "3">Executing remote application: cmd /c cscript
"%windir%\freezeAQueue.vbs" "PostDSNGenerationQueue" "SMTP"</line>
<line index = "4">Remote application process ID: 4564</line>
<line index = "5">Microsoft (R) Windows Script Host
Version 5.6</line>
<line index = "6">Copyright (C) Microsoft Corporation 1996-2001.
All rights reserved.</line>
<line index = "7">Freezing Queue: PostDSNGenerationQueue</line>
<line index = "8">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</microsoft-exchange-response>
<metadata>
<status>success</status>
</metadata>
<commands-output>
<command-output>
<metadata>
<command>cscript "C:\Program Files\BMC Software\AO\CDP_75FCS
\server\grids\KGrid\library\adapters\bmc-adapter-microsoft-exchange
-v2003-actor_7.6.00-SNAPSHOT\scripts\freezeAQueue.vbs"
"PostDSNGenerationQueue" "SMTP"</command>
<line-count>8</line-count>
<execution-milliseconds>3735</execution-milliseconds>
<exit-code>0</exit-code>
<status>success</status>
</metadata>
<output>
<line index = "1">Attempting to connect to remote host...</line>
<line index = "2">Initialising rctrlx server component...</line>
<line index = "3">Executing remote application: cmd /c cscript
"%windir%\freezeAQueue.vbs" "PostDSNGenerationQueue" "SMTP"</line>
<line index = "4">Remote application process ID: 4564</line>
<line index = "5">Microsoft (R) Windows Script Host
Version 5.6</line>
<line index = "6">Copyright (C) Microsoft Corporation 1996-2001.
All rights reserved.</line>
<line index = "7">Freezing Queue: PostDSNGenerationQueue</line>
<line index = "8">Remote application exited with code: 0</line>
</output>
</command-output>
</commands-output>
</microsoft-exchange-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*