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.DefaultAtlasPropertyStrategyAtlasMap property strategy to map Camel message headers and exchange properties to/from AtlasMap properties.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCOPE_CURRENT_MESSAGE_HEADERstatic StringSCOPE_EXCHANGE_PROPERTY
-
Constructor Summary
Constructors Constructor Description CamelAtlasPropertyStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadProperty(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 Detail
-
SCOPE_EXCHANGE_PROPERTY
public static final String SCOPE_EXCHANGE_PROPERTY
- See Also:
- Constant Field Values
-
SCOPE_CURRENT_MESSAGE_HEADER
public static final String SCOPE_CURRENT_MESSAGE_HEADER
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public void setSourceMessage(String documentId, org.apache.camel.Message msg)
-
setCurrentSourceMessage
public void setCurrentSourceMessage(org.apache.camel.Message msg)
-
setTargetMessage
public void setTargetMessage(org.apache.camel.Message msg)
-
-