Expand my Community achievements bar.

SOLVED

Customize replication

Avatar

Level 5

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.

1 Accepted Solution

Avatar

Correct answer by
Level 2

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

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.

Avatar

Level 5

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