OOTB Email service not working with R6 osgi annotations | Community
Skip to main content
New Participant
September 22, 2018
Solved

OOTB Email service not working with R6 osgi annotations

  • September 22, 2018
  • 12 replies
  • 4622 views

Hi,

We have used OOTB Email service using R6 osgi annotations.

Currently facing one issue as message gateway service coming null while sending notification using gateway method.

How ever the message Gateway Service reference object is there but not working with Gateway method ?

Couple of other projects which implemented using Felix SCR annotations is working with email service.Do we have any reference implementations using R6 osgi?

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 smacdonald2008

See this new HELPX Article that shows how to work with with MessageServiceGateway API in 6.4.

There is a video too that shows it all working. Follow this artilce -- 

https://helpx.adobe.com/experience-manager/using/message_service_gateway_api_64.html

12 replies

New Participant
September 22, 2018

Hi Arun,

Used the Osgi annotations only R6 find the below screenshot

arunpatidar
New Participant
September 22, 2018

Hi,

Check your imports, you should be using osgi annotations to use services instead of Felix.

e.g.

import org.osgi.service.component.annotations.Component;

import org.osgi.service.component.annotations.Reference;

Arun Patidar