Liferay 6.0.5

com.liferay.portlet.journal.messaging
Class JournalMessageListener

java.lang.Object
  extended by com.liferay.portlet.journal.messaging.JournalMessageListener
All Implemented Interfaces:
MessageListener

public class JournalMessageListener
extends Object
implements MessageListener


Constructor Summary
JournalMessageListener()
           
 
Method Summary
protected  void doReceive(Message message)
           
 void receive(Message message)
           
protected  void sendEmail(long userId, String fromName, String fromAddress, String subject, String body, List<Subscription> subscriptions, Set<Long> sent, String replyToAddress, String mailId, boolean htmlFormat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalMessageListener

public JournalMessageListener()
Method Detail

receive

public void receive(Message message)
Specified by:
receive in interface MessageListener

doReceive

protected void doReceive(Message message)
                  throws Exception
Throws:
Exception

sendEmail

protected void sendEmail(long userId,
                         String fromName,
                         String fromAddress,
                         String subject,
                         String body,
                         List<Subscription> subscriptions,
                         Set<Long> sent,
                         String replyToAddress,
                         String mailId,
                         boolean htmlFormat)
                  throws Exception
Throws:
Exception

Liferay 6.0.5