@IntegrationFeature(clazz=PayloadFactory.class, name="payload") public class PayloadFactoryFeature extends AbstractFeatureRepoAware implements PayloadFactory
XMessageFormat instances giving the
particular payload typelogger, projectConfig, properties| Constructor and Description |
|---|
PayloadFactoryFeature() |
| Modifier and Type | Method and Description |
|---|---|
<T> XMessageFormat<T> |
createPayload(T payload)
Creates the payload as a
XMessageFormat for the given payload type |
void |
init(org.springframework.context.ApplicationContext context)
Initiates the message format factory map
|
getFeatureImpldestroy, getInt, getLong, getString, hasProp, setProjectConfig, setPropertiespublic void init(org.springframework.context.ApplicationContext context)
init in interface Initializableinit in class AbstractIntegrationFeaturepublic <T> XMessageFormat<T> createPayload(T payload)
XMessageFormat for the given payload typecreatePayload in interface PayloadFactoryT - the type of the payloadpayload - the payload to be used for the new message formatCopyright © 2016–2019 AdroitLogic. All rights reserved.