Hi Pubudu,

There is a Notifier interface so if anyone needs a different type of
notification then they can extend that interface and write their own
Notifier class and there should be a configuration to set the Notifier
class.

Thanks,
Sam

On Fri, Jul 21, 2017 at 1:07 AM, Pubudu Gunatilaka <pubu...@wso2.com> wrote:

> Hi Krishan,
>
> Is this notification mechanism restricted to email? Have we considered
> other notification mechanism? If we can integrate a generic CEP output
> adapter module which supports email, sms, etc, users will be able to plug
> any notification mechanism based on their preference. Email notification
> mechanism is more suitable for new API creation use case. But in the
> future, there can be other use cases and we would need other notification
> mechanisms other than email.
>
> Thank you!
>
> On Fri, Jul 21, 2017 at 12:21 AM, Jochen Traunecker <
> jochen.traunec...@googlemail.com> wrote:
>
>> Hi,
>>
>> what about supporting webhooks in addition or is this already available?
>>
>> Thanks,
>> Jochen
>>
>> 2017-07-20 9:37 GMT+02:00 Nuwan Dias <nuw...@wso2.com>:
>>
>>> We will need to template the email content and stuff. So we'll need some
>>> sort of a configuration to store the default template and allow users to
>>> change it as needed.
>>>
>>> On Thu, Jul 20, 2017 at 12:53 PM, Krishan Wijesena <krish...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> An earlier version of APIM had enabled notifications process at the
>>>> creation of new API versions in order to notify existing subscribers (via
>>>> email) that a new version of the API is available.now need to implement
>>>> this feature according to C5 APIM.
>>>>
>>>>
>>>> [image: eeee]
>>>>
>>>> 1.Check whether user enabled notification if yes I need to create
>>>> NotificationDTO object and store data to object.
>>>>
>>>> 2.Send NotificationDTO object to notifier (separate thread) through
>>>> executor.
>>>>
>>>> 3.Notifier extended NewAPIVersionEmailNotifier send emails to existing
>>>> subscribers.
>>>>
>>>> This is the main design of the operation.This Operation can implement
>>>> through any API.but now I call this operation from API called "create new
>>>> version" in APIServiceImpl and using JavaMail.
>>>>
>>>>
>>>> Please provide suggestions for improvements.
>>>>
>>>> Thanks & Regards.
>>>>
>>>> --
>>>>
>>>> *Krishan Wijesena*
>>>> Software Engineer | WSO2
>>>>
>>>> Email : krish...@wso2.com
>>>> Mobile : +94776219923 <+94%2077%20621%209923>
>>>> WSO2 Inc : http://wso2.com
>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>
>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Software Architect - WSO2, Inc. http://wso2.com
>>> email : nuw...@wso2.com
>>> Phone : +94 777 775 729 <+94%2077%20777%205729>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Gruss / regards
>>
>> Jochen Traunecker
>> mailto: jochen.traunec...@gmail.com
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Pubudu Gunatilaka*
> Committer and PMC Member - Apache Stratos
> Software Engineer
> WSO2, Inc.: http://wso2.com
> mobile : +94774078049 <%2B94772207163>
>
>


-- 
*Sam Sivayogam*

Senior Software Engineer
Mobile  : +94 772 906 439
Office   : +94 112 145 345
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to