Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM T&T integration deprecated classes

Avatar

Community Advisor

Hi,

TestandtargetService ("The Adobe AEM Quickstart and Web Application.") and TestandtargetCampaignMediator ("The Adobe AEM Quickstart and Web Application.") - have been deprecated in AEM 6.*.

However, nowhere in the JavaDoc I can find which class should be used instead, can someone tell me which class is a good alternative for this class going forward?

Regards,

Peter

1 Accepted Solution

Avatar

Correct answer by
Administrator

Reply from the internal team:

  • The TestandTargetCampaignMediator has been replaced by TargetMediator.
  • The TestandTargetService has no replacement, main cause is that some of the target services it used to provide access to may not be available

-Kautuk



Kautuk Sahni

View solution in original post

3 Replies

Avatar

Level 10

We are checking internally. I am hoping to get a response from the Eng team.

Avatar

Correct answer by
Administrator

Reply from the internal team:

  • The TestandTargetCampaignMediator has been replaced by TargetMediator.
  • The TestandTargetService has no replacement, main cause is that some of the target services it used to provide access to may not be available

-Kautuk



Kautuk Sahni

Avatar

Community Advisor

Thank you smacdonald2008​ and kautuksahni​ will update our code accordingly.

Regards,

Peter