How to configure Purging of Completed Queue Messages

vrindanayak edited this page Oct 13, 2016 · 4 revisions
Clone this wiki locally

Configuration

You may either

  • create a LDIF file (e.g.):

    version: 1
    dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
    changetype: modify
    add: dcmPurgeQueueMessagePollingInterval
    dcmPurgeQueueMessagePollingInterval: PT1H
    -
    
    dn: dcmQueueName=Export1,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
    changetype: modify
    add: dcmPurgeQueueMessageCompletedDelay
    dcmPurgeQueueMessageCompletedDelay: P1D
    -
    

    and import it to the LDAP Server by using the ldapmodify command line utility.

  • or use the Add Attribute... and Add Value... function of Apache Directory Studio to add attributes on Device Level (e.g.: dicomDeviceName=dcm4chee-arc) and on Queue Descriptor level (e.g.: dcmQueueName=Export1) in the Archive Configuration.

One may refer to Archive Device and Queue Descriptor to understand the description of attributes.

Refer ISO-8601 Duration format for more know-how on Durations.

Note : The dcmPurgeQueueMessageCompletedDelay attribute may be set for one or more queues as per user requirement.