public class HttpMessageComposer extends BaseMessageComposer<HttpBindingData>
| Modifier and Type | Field and Description |
|---|---|
static String |
CAMEL_HTTP_HEADER |
| Constructor and Description |
|---|
HttpMessageComposer() |
| Modifier and Type | Method and Description |
|---|---|
Message |
compose(HttpBindingData source,
Exchange exchange)
Takes the data from the passed in source object and composes a SwithYardMessage based on the specified Exchange.
|
HttpBindingData |
decompose(Exchange exchange,
HttpBindingData target)
Takes the data from the SwitchYardMessage in the specified Exchange and decomposes it into the target object.
|
org.switchyard.config.model.composer.MessageComposerModel |
getComposerConfig()
Gets the MessageComposerModel config.
|
void |
setComposerConfig(org.switchyard.config.model.composer.MessageComposerModel composerConfig)
Sets the MessageComposerModel config.
|
getContextMapper, getMessageType, setContextMapperpublic static final String CAMEL_HTTP_HEADER
public Message compose(HttpBindingData source, Exchange exchange) throws Exception
source - the source objectexchange - the exchange to useException - if a problem happenspublic HttpBindingData decompose(Exchange exchange, HttpBindingData target) throws Exception
exchange - the exchange to usetarget - the target objectException - if a problem happenspublic org.switchyard.config.model.composer.MessageComposerModel getComposerConfig()
public void setComposerConfig(org.switchyard.config.model.composer.MessageComposerModel composerConfig)
composerConfig - configurationCopyright © 2013–2017 JBoss by Red Hat. All rights reserved.