Package evolaris.framework.async.datamodel

Examples of evolaris.framework.async.datamodel.ReceivedEmail


                eventParameters = new SmsEventParameters(Locale.GERMAN,session,user,invocation,sms);
                eventParameters.updateInteractionLog(log);
                interactionLogManager.writeInteractionLog(log);

              } else if(messageObject instanceof ReceivedEmail) {
                ReceivedEmail email = (ReceivedEmail)messageObject;
                LOGGER.info("email message: `" + email.getContent() + "`; subject: " + email.getSubject() + "`; sender: " + email.getEmailSender() + "; invocationId: " + invocation.getId() + " (keyword=`" + invocation.getKeywords() + "`)");
                user = userManager.registerUserByEmail(email.getEmailSender(), invocation.getGroup());
                eventParameters = new EmailEventParameters(Locale.GERMAN,session,user,invocation, email);
                eventParameters.updateInteractionLog(log);
                interactionLogManager.writeInteractionLog(log);
              } else {
                throw new BugException("unsupported message type: " + messageObject.getClass().getName());
View Full Code Here

TOP

Related Classes of evolaris.framework.async.datamodel.ReceivedEmail

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.