public class TextMessageCreationStrategy extends Object implements MessageCreationStrategy
Constructor and Description |
---|
TextMessageCreationStrategy() |
Modifier and Type | Method and Description |
---|---|
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.
|
public javax.jms.Message createJMSMessage(String beanId, ExecutionContext context, javax.jms.Session jmsSession) throws SmooksException
MessageCreationStrategy
createJMSMessage
in interface MessageCreationStrategy
beanId
- - the beanId of the Java Object to populate the JMS Message body withSmooksException
Copyright © 2020. All rights reserved.