Customize replication | Community
Skip to main content
Level 4
October 16, 2015
Solved

Customize replication

  • October 16, 2015
  • 2 replies
  • 1957 views

Hi masters!

I'm involved in a DAM project with AEM 5.6.1.

I would like to use the DAM interface functionality to activate/deactivate assets, including the 'activate later' option, but with a custom replication actions. I mean, I don't want to replicate assets from author instance to publish instance. Instead, for example, I would like to copy the original file and the thumbnails to a SFTP server (this is just an example).

Is there a way to do it?

I've been reviewing the com.day.cq.replication javadoc, and maybe this question is related to com.day.cq.replication.Agent, but... I don't know...

Do you have any reference to implement this requirement?

Thank you very much!

Julio.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Pacoolsky

Create custom TransportHandler class implementing SFTP protocol and ContentBuilder class which will be responsible for preparing content (images) to transfer, then configure additional replication agent using these classes.

See http://forums.adobe.com/message/4783826#4783826 thread for more details.

2 replies

Pacoolsky
PacoolskyAccepted solution
Level 2
October 16, 2015

Create custom TransportHandler class implementing SFTP protocol and ContentBuilder class which will be responsible for preparing content (images) to transfer, then configure additional replication agent using these classes.

See http://forums.adobe.com/message/4783826#4783826 thread for more details.

Level 4
October 16, 2015

Thank you Pakulski. Nice link. The first PoC works ;-)