Queue Configuration

Avatar

Avatar

ashwiniv5325199

Avatar

ashwiniv5325199

ashwiniv5325199

09-09-2019

Hi All,

         I'm trying to get the configuration "org.apache.sling.event.jobs.QueueConfiguration.config" under "Apache sling job Queue Configuration". But I got the another configuration with "Apache sling job Queue Configuration" which i dont want. I wanted to add a one more config file under "Apache sling job Queue Configuration". Please suggest me where to place a config xml file.

Using "org.apache.sling.event.jobs.QueueConfiguration.config" xml file, I need to see the configuration present under "Apache sling job Queue Configuration". in the console, rather than creating it manually.

MicrosoftTeams-image (2).png

Thanks,

Ashwini

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

09-09-2019

Default location is

/apps/system/config/org.apache.sling.event.jobs.QueueConfiguration-asyncoperations.config

It also can be a runtime specific:

/apps/system/config.author/org.apache.sling.event.jobs.QueueConfiguration-asyncoperations.config

As well as you can add a unique suffix to your custom configuration

Answers (1)

Answers (1)

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

09-09-2019

You need to get the PID of the "Apache sling job Queue Configuration" and create a "sling:OsgiConfig" node under "apps/config".

AEM will then automatically map the OSGI configuration files with the actual configuration based in the PID. More details at [1]

[1] Configuring OSGi