Class DozerConfiguration


  • @UriParams
    public class DozerConfiguration
    extends Object
    Configuration used for a Dozer endpoint.
    • Constructor Detail

      • DozerConfiguration

        public DozerConfiguration()
    • Method Detail

      • getMarshalId

        public String getMarshalId()
      • setMarshalId

        public void setMarshalId​(String marshalId)
        The id of a dataFormat defined within the Camel Context to use for marshalling the mapping output to a non-Java type.
      • getUnmarshalId

        public String getUnmarshalId()
      • setUnmarshalId

        public void setUnmarshalId​(String unmarshalId)
        The id of a dataFormat defined within the Camel Context to use for unmarshalling the mapping input from a non-Java type.
      • getSourceModel

        public String getSourceModel()
      • setSourceModel

        public void setSourceModel​(String sourceModel)
        Fully-qualified class name for the source type used in the mapping. If specified, the input to the mapping is converted to the specified type before being mapped with Dozer.
      • getTargetModel

        public String getTargetModel()
      • setTargetModel

        public void setTargetModel​(String targetModel)
        Fully-qualified class name for the target type used in the mapping.
      • getName

        public String getName()
      • setName

        public void setName​(String name)
        A human readable name of the mapping.
      • getMappingFile

        public String getMappingFile()
      • setMappingFile

        public void setMappingFile​(String mappingFile)
        The location of a Dozer configuration file. The file is loaded from the classpath by default, but you can use file:, classpath:, or http: to load the configuration from a specific location.
      • setMappingConfiguration

        public void setMappingConfiguration​(DozerBeanMapperConfiguration mappingConfiguration)
        The name of a DozerBeanMapperConfiguration bean in the Camel registry which should be used for configuring the Dozer mapping. This is an alternative to the mappingFile option that can be used for fine-grained control over how Dozer is configured. Remember to use a "#" prefix in the value to indicate that the bean is in the Camel registry (e.g. "#myDozerConfig").