/** * {@inheritDoc} */ public void init() throws Exception { super.init(); // Obtain JavaMail session InitialContext context=new InitialContext(); _session = (Session)context.lookup(_jndiName); // Initialize scripts initSubjectScript(); initContentScript(); // Validate validate(); }
if (LOG.isLoggable(Level.FINEST)) { LOG.finest("Process event '"+event+"' from source '"+source +"' on Mail Event Processor with subject script '"+getSubjectScript() +"' to '"+_to+"' from '"+_from+"'"); String subject=createSubject(source, event, retriesLeft); String content=createContent(source, event, retriesLeft);