Class ObjectMessageCreationStrategy
- java.lang.Object
-
- org.smooks.cartridges.routing.jms.message.creationstrategies.ObjectMessageCreationStrategy
-
- All Implemented Interfaces:
MessageCreationStrategy
public class ObjectMessageCreationStrategy extends Object implements MessageCreationStrategy
-
-
Constructor Summary
Constructors Constructor Description ObjectMessageCreationStrategy()
-
Method Summary
All Methods Instance Methods Concrete 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
public javax.jms.Message createJMSMessage(String beanId, org.smooks.api.ExecutionContext context, javax.jms.Session jmsSession) throws org.smooks.api.SmooksException
Description copied from interface:MessageCreationStrategyCreate a JMS Message object with the content of Java Object identified by beanId.- Specified by:
createJMSMessagein interfaceMessageCreationStrategy- Parameters:
beanId- - the beanId of the Java Object to populate the JMS Message body with- Returns:
- Throws:
org.smooks.api.SmooksException
-
-