1.5

Table Of Contents
7 Copy the text of the message to which you want to respond.
For example,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<QuarantineRequestMessage transferSessionId="239d310a-5bce-492d-9e26-eda6b646dc15"
transferSessionFilePath="/opt/vmware/cloud-director/data/transfer/239d310a-5bce-492d-9e26-
eda6b646dc15"
xmlns="http://www.vmware.com/vcloud/v1"/>
What to do next
Accept or reject the quarantine request.
Accept or Reject a Quarantine Request Using JConsole
You can use JConsole to accept or quarantine service requests. You will need the information in the request
message to construct a response message.
Prerequisites
You have the text of the request message.
Procedure
1
Paste the text of the request message into a text editor.
2 Change the XML element name to QuarantineResponseMessage and add a new attribute to the element,
response="accept" or response="reject".
For example,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<QuarantineResponseMessage transferSessionId="239d310a-5bce-492d-9e26-eda6b646dc15"
transferSessionFilePath="/opt/vmware/cloud-director/data/transfer/239d310a-5bce-492d-9e26-
eda6b646dc15"
response="accept"
xmlns="http://www.vmware.com/vcloud/v1"/>
3 Start JConsole.
4 In the Connection menu, select New Connection.
5 Click Remote Process and type the JMX service URL.
The URL consists of the host name or IP address of the vCloud Director server, followed by the port
number. For example, example.com:8999. The default port is 8999.
6 Type a vCloud Director system administrator user name and password and click Connect.
7 Click the MBeans tab and browse to the org.apache.activemq > uuid > Queue >
com.vmware.vcloud.queues.transfer.server.QuarantineResponse > Operations node.
8 Select the sendTextMessage(string, string, string) operation.
9 Paste the response message from your text editor in the first field and type a vCloud Director system
administrator user name and password in the other fields.
10 Click sendTextMessage.
For an accepted file, vCloud Director releases the file from quarantine and completes the upload. For a rejected
file, vCloud Director removes the file.
vCloud Director Administrator's Guide
106 VMware, Inc.