Class CamelAtlasPropertyStrategy
java.lang.Object
io.atlasmap.core.DefaultAtlasPropertyStrategy
org.apache.camel.component.atlasmap.CamelAtlasPropertyStrategy
- All Implemented Interfaces:
io.atlasmap.spi.AtlasPropertyStrategy
public class CamelAtlasPropertyStrategy
extends io.atlasmap.core.DefaultAtlasPropertyStrategy
AtlasMap property strategy to map Camel message headers and exchange properties to/from AtlasMap properties.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadProperty(io.atlasmap.api.AtlasSession session, io.atlasmap.v2.PropertyField propertyField) voidsetCurrentSourceMessage(org.apache.camel.Message msg) voidsetExchange(org.apache.camel.Exchange ex) voidsetSourceMessage(String documentId, org.apache.camel.Message msg) voidsetTargetMessage(org.apache.camel.Message msg) voidwriteProperty(io.atlasmap.api.AtlasSession session, io.atlasmap.v2.PropertyField propertyField) Methods inherited from class io.atlasmap.core.DefaultAtlasPropertyStrategy
getAtlasConversionService, getPropertyOrder, isEnvironmentPropertiesEnabled, isMappingDefinedPropertiesEnabled, isRuntimePropertiesEnabled, isSystemPropertiesEnabled, processEnvironmentVariable, processJavaSystemProperty, processMappingDefinedProperties, processRuntimeProperties, setAtlasConversionService, setEnvironmentPropertiesEnabled, setMappingDefinedPropertiesEnabled, setPropertyOrder, setPropertyOrderValue, setRuntimePropertiesEnabled, setSystemPropertiesEnabled
-
Field Details
-
SCOPE_EXCHANGE_PROPERTY
- See Also:
-
SCOPE_CURRENT_MESSAGE_HEADER
- See Also:
-
-
Constructor Details
-
CamelAtlasPropertyStrategy
public CamelAtlasPropertyStrategy()
-
-
Method Details
-
readProperty
public void readProperty(io.atlasmap.api.AtlasSession session, io.atlasmap.v2.PropertyField propertyField) throws io.atlasmap.api.AtlasUnsupportedException, io.atlasmap.api.AtlasConversionException - Specified by:
readPropertyin interfaceio.atlasmap.spi.AtlasPropertyStrategy- Overrides:
readPropertyin classio.atlasmap.core.DefaultAtlasPropertyStrategy- Throws:
io.atlasmap.api.AtlasUnsupportedExceptionio.atlasmap.api.AtlasConversionException
-
writeProperty
public void writeProperty(io.atlasmap.api.AtlasSession session, io.atlasmap.v2.PropertyField propertyField) - Specified by:
writePropertyin interfaceio.atlasmap.spi.AtlasPropertyStrategy- Overrides:
writePropertyin classio.atlasmap.core.DefaultAtlasPropertyStrategy
-
setExchange
public void setExchange(org.apache.camel.Exchange ex) -
setSourceMessage
-
setCurrentSourceMessage
public void setCurrentSourceMessage(org.apache.camel.Message msg) -
setTargetMessage
public void setTargetMessage(org.apache.camel.Message msg)
-