Automated NotificationsChapter 16 Setting Up Automated Notifications 553Note that you can customize the email resolver using theReqCertSANameEmailResolver.java class included as a sample at this location:/cms_sdk/cms_jdk/samples/resolversThe template that the listener uses to construct the email notification message islocated in the configured directory. This directory has the following defaultlocation: /cert-/emailsYou can configure both the path and filename of the template file. You can alsomodify the template to customize the contents and appearance of the messages; see“Customizing Message Templates” on page 556.Messages can be sent as HTML or plain text.For the certIssued listener, you can configure the following:• Whether the listener is enabled.• The sender of the notification messages (who will be notified of any deliveryproblems).• The location of the notification email template.• The subject line of the notification message.Notification of New Request in QueueWhen a deferred end-entity request enters the request queue of a CertificateManager or Registration Manager, agents assigned to manage the queue mustreview the request and reject or accept it. To help ensure that an agent processesthe request in a timely manner, you can configure the subsystem to notify agentswhenever a new request gets added to the request queue.This kind of notification involves a listener class in the subsystem that registers aninterest in an appropriate event, in this case the addition of a request to the requestqueue. In the CMS configuration, this listener class is identified as follows:ca.notification.requestInQFor more information on listener classes, check the samples directory:/cms_sdk/cms_jdk/samples/listenersWhen a request is added to the queue, the listener builds a notification messagebased on a configured template and sends it to one or more agents’ email addressesas configured.