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

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

public class ObjectMessageCreationStrategy
extends Object
implements MessageCreationStrategy


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

ObjectMessageCreationStrategy

public ObjectMessageCreationStrategy()
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.