내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

send custom data to publish instance during replication

Avatar

Level 2

Hi,

I have installed AEM 6.0 author and publish instances in tomcat app server. Whenever something is published, i want to send some key code to publish instance during the replication. Appreciated for any suggestion

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

Hi,

why don't you use replication via https? That's transparent to the application and you don't need to do anything. If you are paranoid, you should be able to setup the validation of both sender and receiver certificate. But don't reinvent the wheel and write code on your own.

kind regards,
Jörg

원본 게시물의 솔루션 보기

6 답변 개

Avatar

Level 2

Hi Scott,

I agree with you. But the scenario i am talking about a scenario as follows, i have installed publish instance in apache tomcat server (author instance is also installed in tomcat but in different machine). During the replication i want to add some rsa code in replication request. I want to validate the replication request with tomact(based on rsa code) before it reaches to publish instance.

Avatar

Level 3

Not sure if this would work but looks like you can extend /libs/cq/replication/components/agent to create a custom replication agent.

Avatar

정확한 답변 작성자:
Employee Advisor

Hi,

why don't you use replication via https? That's transparent to the application and you don't need to do anything. If you are paranoid, you should be able to setup the validation of both sender and receiver certificate. But don't reinvent the wheel and write code on your own.

kind regards,
Jörg

Avatar

Level 10

I think you might have to override the replication agent at the author side and similarly you will have to find the function which writes it into JCR on publish and override the same to check the rsa code.

Avatar

Level 2

Is there any sample logic available to override the replication agent?

Avatar

Level 10