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

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

public class MapMessageCreationStrategy
extends Object
implements MessageCreationStrategy

Author:
maurice.zeijen@smies.com

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

MapMessageCreationStrategy

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