would be nice if in the current example we use the CDI event mechanism to trigger sending of notification, that is an incoming REST request fires an event and the event observer triggers the sender, or the LeadService.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira