The deleted content store support in Content Services moves the deleted content into a dedicated storage container. This is defined by the connector.az.deleted.containerName property. System administrators can schedule a job to delete the binaries from this location.
The deleted content store support is provided both from the repository and also by the Azure capabilities.
When using Azure Connector 2.0, the deleted content store is disabled by default because this feature is already present in Microsoft's Azure Storage services. However, you can enable the Content Services deleted content store, if required.
Add a context file, such as enable-deleted-content-store-context.xml in the extension directory.
$CATALINA_HOME/shared/classes/alfresco/extension
You can find a sample file in alfresco-azure-connector-2.0.x.amp.
enable-deleted-content-store-context.xml.sample in config/alfresco/extension
This creates a proxy bean to the deleted content store defined in the subsystem. By doing this, the repository knows about it when the subsystem is started.
<bean id="deletedContentStore" class="org.alfresco.repo.management.subsystems.SubsystemProxyFactory">
<property name="sourceApplicationContextFactory">
<ref bean="${filecontentstore.subsystem.name}" />
</property>
<property name="sourceBeanName">
<value>deletedContentStore</value>
</property>
<property name="interfaces">
<list>
<value>org.alfresco.repo.content.ContentStore</value>
</list>
</property>
</bean>
The sourceApplicationContextFactory property has to point to the name of the bean which defines the subsystem.