org.milyn.routing.jms.message.creationstrategies
Class TextMessageCreationStrategy

java.lang.Object
  extended by org.milyn.routing.jms.message.creationstrategies.TextMessageCreationStrategy
All Implemented Interfaces:
MessageCreationStrategy

public class TextMessageCreationStrategy
extends Object
implements MessageCreationStrategy

Author:
Daniel Bevenius

Constructor Summary
TextMessageCreationStrategy()
           
 
Method Summary
 javax.jms.Message createJMSMessage(String beanId, ExecutionContext context, javax.jms.Session jmsSession)
          Create a JMS Message object with the content of Java Object identified by beanId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextMessageCreationStrategy

public TextMessageCreationStrategy()
Method Detail

createJMSMessage

public javax.jms.Message createJMSMessage(String beanId,
                                          ExecutionContext context,
                                          javax.jms.Session jmsSession)
                                   throws SmooksException
Description copied from interface: MessageCreationStrategy
Create a JMS Message object with the content of Java Object identified by beanId.

Specified by:
createJMSMessage in interface MessageCreationStrategy
Parameters:
beanId - - the beanId of the Java Object to populate the JMS Message body with
Returns:
Throws:
SmooksException


Copyright © 2014. All Rights Reserved.