/libs/cq/config/rewriter/default (transformer, Output Rewriting Pipelines) have property order as -1 (as per the document value can be 0 or >0) | Community
Skip to main content
December 16, 2019
Solved

/libs/cq/config/rewriter/default (transformer, Output Rewriting Pipelines) have property order as -1 (as per the document value can be 0 or >0)

  • December 16, 2019
  • 1 reply
  • 2555 views

As per the sling.apache.org document (https://sling.apache.org/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html) for "Output Rewriting Pipelines" the order property value of the transformer can only be 0 or >0.

But in AEM default pipeline is having order property as -1 (here is the location: /libs/cq/config/rewriter/default).

 

if somebody have the information regarding order as -1?

 

thanks

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

Dear Shekha,

 

It's just processing priority marker,

 

The highest priority wins.

 

Code to look at: https://github.com/apache/sling-org-apache-sling-rewriter/blob/master/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java

 

Regards,

Peter

1 reply

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
December 19, 2019

Dear Shekha,

 

It's just processing priority marker,

 

The highest priority wins.

 

Code to look at: https://github.com/apache/sling-org-apache-sling-rewriter/blob/master/src/main/java/org/apache/sling/rewriter/impl/ProcessorManagerImpl.java

 

Regards,

Peter