この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi There,
Is it possible to detect a ReplicationAction event (in Sling or a replication preprocessor) in such a way that the Replication is cancelled?
e.g.
There are a lot of examples for listening to Replication event topics, but I can't see any that actually prevent the Replication Action from happening.
Thanks!
解決済! 解決策の投稿を見る。
You could create your own replication servlet that evaluates the criteria. The replication agent is configured to use a specific servlet that actually performs the replication. Create your custom servlet and point the agent at it (URI property on the Transport tab)
表示
返信
いいね!の合計
You could create your own replication servlet that evaluates the criteria. The replication agent is configured to use a specific servlet that actually performs the replication. Create your custom servlet and point the agent at it (URI property on the Transport tab)
表示
返信
いいね!の合計
UPDATE: I think I found the answer here -
http://forums.adobe.com/message/4785913#4785913#4785913
and here:
Thanks Scott,
Just to confirm - rather than override the receiver servlet on the publish, wouldn't it be better to override the author agent to make the decision whether it will queue the job or not. Is that possible?
Kind Regards
表示
返信
いいね!の合計
Thanks Scott,
Just to confirm - rather than override the receiver servlet on the publish, wouldn't it be better to override the author agent to make the decision whether it will queue the job or not. Is that possible?
Kind Regards
UPDATE: I think I found the answer here -
http://forums.adobe.com/message/4785913#4785913#4785913
and here: