Skip to main content
Level 4
Oct 16, 2015 2:28 AM UTC
Solved

Customize replication

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.
Pacoolsky
PacoolskyAccepted solution
Level 2
Oct 16, 2015 2:28 AM UTC

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

Level 4
Oct 16, 2015 2:28 AM UTC

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

Translate
Pacoolsky
PacoolskyAccepted solution
Level 2
Oct 16, 2015 2:28 AM UTC

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.

Translate