Thanks Yogesh for quick respone.. Let me try this.. Siva
I've one more question Yogesh, How can we configure custom mapping (/etc/map/)based on run modes. Assume that I've two different mapping under /etc/map/ . one is for author and other one is for publish instance.
How can I achieve this?
I am working on similar problem. What you can do is create config like /apps/map.<Your mode example publish.dev> and then have your rules there.
Then create another config like /apps/sling/<your config example config.publish.dev>/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl .xml
And then there have setting like
Hope it make sense.