Hi all,
Please help me to create Content-builder and transport handler so that it can be mapped to a agent instance.
Any sort of help highly appreciated.
Thanks in advance
LV
Solved! Go to Solution.
Views
Replies
Total Likes
I do not have example. The way would be Implement agent & agent config. Inside agent[1] implementation you will use custom build content-builder & transport-handler.
[1] https://dev.day.com/docs/en/cq/current/javadoc/index.html?com/day/cq/replication/Agent.html
Views
Replies
Total Likes
For this use case -- looks like you may have to use this Java interface:
http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/replication/TransportHandler.html
I will see if i can find some sample code for you to use as a starting point.
Views
Replies
Total Likes
Take a look at example for content-builder at https://github.com/cqsupport/webinar-dispatchercache
Can you provide more details what type of custom agent you are trying to build?
Once you have content-builder/transport-handler bundles ready Create an agent page component and template. This would be used to configure the agent. As a starting point you can simply copy the page component and template for the default replication agent.
* see /libs/cq/replication/components/agent and /libs/cq/replication/templates/agent.
Views
Replies
Total Likes
Thanks Sham and Macdonald.
I succeeded in creating ContentBuilder and mapping that content builder to my replication agent.Control is also coming to content builder on activation.But I am not sure of how to associate TansportHandler to the ContentBuilder. I am not clear about the relevance of TransportHandler in this context.It will be great if someone can explain this too.
My ultimate requirement is to get a proprietary format content with page URL and associated DAM assets with the activated page.Which in turn will be passed while consuming a CDN cache clear REST service we created.
Thanks in advance
LM
Views
Replies
Total Likes
I do not have example. The way would be Implement agent & agent config. Inside agent[1] implementation you will use custom build content-builder & transport-handler.
[1] https://dev.day.com/docs/en/cq/current/javadoc/index.html?com/day/cq/replication/Agent.html
Views
Replies
Total Likes
How transport URI need to be?Can we use a servlet for this purpose? How we can retrieve all data from the transport end point?
Thanks
LM
Views
Replies
Total Likes