Expand my Community achievements bar.

SOLVED

JobConsumer class is in satisfied state in mave Archtype 12 project

Avatar

Level 4

I am working on  Archtype 12 maven project. All the classes that implements JobConsumer ( org.apache.sling.event.jobs.consumer.JobConsumer) is in satisfied state when I install the bundle in OSGI console. Did anyone face this issue before?

Thanks in Advance.

Anusha

1 Accepted Solution

Avatar

Correct answer by
Level 3

Try adding the immediate = true to the @Component annotation of your JobConsumer

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

Try adding the immediate = true to the @Component annotation of your JobConsumer

Avatar

Level 10

Try building on Maven 11 and see if you still get this issue. WOuld be interested in knowing if there are differences.