Interface MessageCreationStrategy
-
- All Known Implementing Classes:
MapMessageCreationStrategy,ObjectMessageCreationStrategy,TextMessageCreationStrategy
public interface MessageCreationStrategyA Strategy for creating different kinds of JMS Message objects from either DOM Element structures of SAX Element structures.- Author:
- Daniel Bevenius
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.jms.MessagecreateJMSMessage(String beanId, org.smooks.api.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, org.smooks.api.ExecutionContext context, javax.jms.Session jmsSession) throws org.smooks.api.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 withcontext-jmsSession-- Returns:
- Throws:
org.smooks.api.SmooksException
-
-