public class JMSMessageComposer extends BaseMessageComposer<JMSBindingData>
| Constructor and Description |
|---|
JMSMessageComposer() |
| Modifier and Type | Method and Description |
|---|---|
Message |
compose(JMSBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
JMSBindingData |
decompose(Exchange exchange,
JMSBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
getContextMapper, getMessageType, setContextMapperpublic Message compose(JMSBindingData source, Exchange exchange) throws Exception
source - the source objectexchange - the exchange to useException - if a problem happenspublic JMSBindingData decompose(Exchange exchange, JMSBindingData target) throws Exception
exchange - the exchange to usetarget - the target objectException - if a problem happensCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.