Liferay 6.0.5

com.liferay.portlet.blogs.messaging
Class BlogsMessageListener

java.lang.Object
  extended by com.liferay.portlet.blogs.messaging.BlogsMessageListener
All Implemented Interfaces:
MessageListener

public class BlogsMessageListener
extends Object
implements MessageListener


Constructor Summary
BlogsMessageListener()
           
 
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

BlogsMessageListener

public BlogsMessageListener()
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