org.milyn.routing.jms.message.creationstrategies
Interface MessageCreationStrategy

All Known Implementing Classes:
MapMessageCreationStrategy, ObjectMessageCreationStrategy, TextMessageCreationStrategy

public interface MessageCreationStrategy

A Strategy for creating different kinds of JMS Message objects from either DOM Element structures of SAX Element structures.

Author:
Daniel Bevenius

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.
 

Method Detail

createJMSMessage

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

Parameters:
beanId - - the beanId of the Java Object to populate the JMS Message body with
context -
jmsSession -
Returns:
Throws:
SmooksException


Copyright © 2014. All Rights Reserved.