public class JmsResultFactory<T extends JmsAttributes> extends Object
Result based on a JMS Message| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.operation.Result<Object,T> |
createEmptyResult()
Creates an empty
Result |
org.mule.runtime.extension.api.runtime.operation.Result<Object,T> |
createResult(javax.jms.Message jmsMessage,
JmsSpecification specification,
String contentType,
String encoding,
Optional<String> ackId)
Creates a
Result from a JMS Message based on the current configurations |
static JmsResultFactory |
getInstance() |
public static JmsResultFactory getInstance()
public org.mule.runtime.extension.api.runtime.operation.Result<Object,T> createResult(javax.jms.Message jmsMessage, JmsSpecification specification, String contentType, String encoding, Optional<String> ackId) throws IOException, javax.jms.JMSException
Result from a JMS Message based on the current configurationsjmsMessage - the JMS Message to convertspecification - the JmsSpecification used to obtain the MessagecontentType - the contentType of the Message contentencoding - the encoding of the Message contentackId - the ID required to perform an ACK on the Session the Message belongs toResult containing the content, headers and properties of the original MessageIOExceptionjavax.jms.JMSExceptionCopyright © 2021. All rights reserved.