Interface DozerEndpointBuilderFactory.DozerEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    Enclosing interface:
    DozerEndpointBuilderFactory

    public static interface DozerEndpointBuilderFactory.DozerEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint for the Dozer component.
    • Method Detail

      • mappingConfiguration

        default DozerEndpointBuilderFactory.DozerEndpointBuilder mappingConfiguration​(org.apache.camel.converter.dozer.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). The option is a: <code>org.apache.camel.converter.dozer.DozerBeanMapperConfiguration</code> type. Group: producer
        Parameters:
        mappingConfiguration - the value to set
        Returns:
        the dsl builder
      • mappingConfiguration

        default DozerEndpointBuilderFactory.DozerEndpointBuilder mappingConfiguration​(String 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). The option will be converted to a <code>org.apache.camel.converter.dozer.DozerBeanMapperConfiguration</code> type. Group: producer
        Parameters:
        mappingConfiguration - the value to set
        Returns:
        the dsl builder
      • mappingFile

        default DozerEndpointBuilderFactory.DozerEndpointBuilder mappingFile​(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. The option is a: <code>java.lang.String</code> type. Default: dozerBeanMapping.xml Group: producer
        Parameters:
        mappingFile - the value to set
        Returns:
        the dsl builder
      • marshalId

        default DozerEndpointBuilderFactory.DozerEndpointBuilder marshalId​(String marshalId)
        The id of a dataFormat defined within the Camel Context to use for marshalling the mapping output to a non-Java type. The option is a: <code>java.lang.String</code> type. Group: producer
        Parameters:
        marshalId - the value to set
        Returns:
        the dsl builder
      • sourceModel

        default DozerEndpointBuilderFactory.DozerEndpointBuilder sourceModel​(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. The option is a: <code>java.lang.String</code> type. Group: producer
        Parameters:
        sourceModel - the value to set
        Returns:
        the dsl builder
      • targetModel

        default DozerEndpointBuilderFactory.DozerEndpointBuilder targetModel​(String targetModel)
        Fully-qualified class name for the target type used in the mapping. The option is a: <code>java.lang.String</code> type. Required: true Group: producer
        Parameters:
        targetModel - the value to set
        Returns:
        the dsl builder
      • unmarshalId

        default DozerEndpointBuilderFactory.DozerEndpointBuilder unmarshalId​(String unmarshalId)
        The id of a dataFormat defined within the Camel Context to use for unmarshalling the mapping input from a non-Java type. The option is a: <code>java.lang.String</code> type. Group: producer
        Parameters:
        unmarshalId - the value to set
        Returns:
        the dsl builder