You can use JConsole to accept or quarantine service requests. You will need the information in the request message to construct a response message.

You have the text of the request message.

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/vcloud-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.