Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AEM 6.1 to 6.4 Migration Deprecated API


Level 2

Hi Team,

Currently I am  working on the migration of AEM 6.1 to 6.4. The below deprecated api code need to replace in my java class.

Existing Code:

if (EventUtil.isLocal(event)) {

                JobUtil.processJob(event, this);


I already replaced the EventUtil.isLocal method on the below approach.

New Code :In Progress

String localEvent=(String)event.getProperty(DEAConstants.PROPERTY_APPLICATION);


        JobUtil.processJob(event, this);-- Still this line need to replace      


But Still not able to find the solution for the Jobutil method., JobProcessor)

- Use the new JobConsumer interface instead.

I Identified JobConsumer Interface need to use, but I didn't  find any method/reference in the jobConsumer. My need here is to replace the below line, Please let me know how to replace the below code. Thanks

   JobUtil.processJob(event, this);

2 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now