Hello all , I have to filter out properties for replication. I used below logic . it is working fine in local machines but accepts(Property prop) is not getting called in cloud environment. Here is piece of logic.
I think there is nothing wrong in code . why only in cloud environment it is not processing accpts(property) method ?
by the way i knew this method not getting called through logs.
I am eagerly waiting for answer
Views
Replies
Total Likes
Hi @AliSyed1 ,
You may try by increasing the service ranking as if it is working in local.
Also just cross check if issue is reproducible in local by using same(latest) SDK version as in cloud
@Component(
service = {ReplicationContentFilter.class},
property = {
Constants.SERVICE_RANKING+":Integer=6000"
}
)
Thanks
@AliSyed1 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Hai , I hope you are doing well. The code is good but execution is not reaching there due to error in another page. I somehow resolved it . Thanks for the support and sorry for the stupid question.
@AliSyed1 Could you kindly share how you resolved this? This would help in posterity.
Views
Replies
Total Likes
Hi @kautuk_sahni The provided code is good. As i mentioned this code is not trigerred due to no privileges for user to replicate those nodes. I just removed nodes from publication. so , problem solved.I hope this helps.
Views
Likes
Replies
Views
Likes
Replies