Parameter and Command Reference > CFS Connector Actions > QueueInfo Action

QueueInfo Action
The QueueInfo action provides information about the asynchronous actions that CFS or a connector is processing. Use this action to determine whether a task has completed and retrieve the results of the task.
http://host:port/action=QueueInfo
                  &QueueName=QueueName
                  &QueueAction=QueueAction
                  [&Token=Token]
 
QueueInfo is a synchronous action.
 
The name of the queue you wish to retrieve information about. There is one queue per asynchronous action. Most of the connector’s functionality is accessed through action=Fetch, so usually you should specify Fetch.
GetStatus. The response provides information about the action currently on the queue.
Example
http://localhost:1234/action=QueueInfo&QueueName=Fetch&QueueAction=GetStatus
Response
A sample response appears below. Each action in the queue appears between <action> tags. This example shows a single synchronize action on the queue. This has finished and the response is included between the action tags.
<autnresponse>
 <action>QUEUEINFO</action>
 <response>SUCCESS</response>
 <responsedata>
  <actions>
   <action>
    <documentcounts>
     <documentcount
      added="10"         collected="0"       deleted="0"
      errors="0"         holds="0"           ingestadded="0"
      ingestdeleted="0"  ingestfailed="10"   ingestupdated="0"
      inserted="0"       releasedholds="0"   seen="10"
      task="DIR1"        unchanged="0"       updated="0"/>
     <documentcount
      added="10"         collected="0"       deleted="0"
      errors="0"         holds="0"           ingestadded="0"
      ingestdeleted="0"  ingestfailed="10"   ingestupdated="0"
      inserted="0"       releasedholds="0"   seen="10"
      task="DIR2"        unchanged="0"       updated="0"
    </documentcounts>
    <fetchaction>SYNCHRONIZE</fetchaction>
    <tasks>
      <success>DIR1</success>
      <success>DIR2</success>
    </tasks>
    <token>MTAuMi4xMDUuMzQ6MTIzNDpGRVRDSDoxNDAyOTU3MzY4</token>
    <status>Finished</status>
    <queued_time>2009-Oct-15 14:44:32</queued_time>
    <time_in_queue>0</time_in_queue>
    <process_start_time>2009-Oct-15 14:44:32</process_start_time>
    <time_processing>3</time_processing>
    <process_end_time>2009-Oct-15 14:44:35</process_end_time>
   </action>
  </actions>
 </responsedata>
</autnresponse>