Interface LogEndpointBuilderFactory.LogEndpointBuilder

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

    public static interface LogEndpointBuilderFactory.LogEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Builder for endpoint for the Log component.
    • Method Detail

      • groupActiveOnly

        default LogEndpointBuilderFactory.LogEndpointBuilder groupActiveOnly​(Boolean groupActiveOnly)
        If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic. The option is a: java.lang.Boolean type. Default: true Group: producer
      • groupActiveOnly

        default LogEndpointBuilderFactory.LogEndpointBuilder groupActiveOnly​(String groupActiveOnly)
        If true, will hide stats when no new messages have been received for a time interval, if false, show stats regardless of message traffic. The option will be converted to a java.lang.Boolean type. Default: true Group: producer
      • groupInterval

        default LogEndpointBuilderFactory.LogEndpointBuilder groupInterval​(String groupInterval)
        If specified will group message stats by this time interval (in millis). The option will be converted to a java.lang.Long type. Group: producer
      • lazyStartProducer

        default LogEndpointBuilderFactory.LogEndpointBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: boolean type. Default: false Group: producer
      • lazyStartProducer

        default LogEndpointBuilderFactory.LogEndpointBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a boolean type. Default: false Group: producer
      • multiline

        default LogEndpointBuilderFactory.LogEndpointBuilder multiline​(boolean multiline)
        If enabled then each information is outputted on a newline. The option is a: boolean type. Default: false Group: formatting
      • showAll

        default LogEndpointBuilderFactory.LogEndpointBuilder showAll​(boolean showAll)
        Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used). The option is a: boolean type. Default: false Group: formatting
      • showAll

        default LogEndpointBuilderFactory.LogEndpointBuilder showAll​(String showAll)
        Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used). The option will be converted to a boolean type. Default: false Group: formatting
      • showCaughtException

        default LogEndpointBuilderFactory.LogEndpointBuilder showCaughtException​(boolean showCaughtException)
        If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a doCatch can catch exceptions. The option is a: boolean type. Default: false Group: formatting
      • showCaughtException

        default LogEndpointBuilderFactory.LogEndpointBuilder showCaughtException​(String showCaughtException)
        If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a doCatch can catch exceptions. The option will be converted to a boolean type. Default: false Group: formatting
      • showException

        default LogEndpointBuilderFactory.LogEndpointBuilder showException​(boolean showException)
        If the exchange has an exception, show the exception message (no stacktrace). The option is a: boolean type. Default: false Group: formatting
      • showException

        default LogEndpointBuilderFactory.LogEndpointBuilder showException​(String showException)
        If the exchange has an exception, show the exception message (no stacktrace). The option will be converted to a boolean type. Default: false Group: formatting
      • showExchangePattern

        default LogEndpointBuilderFactory.LogEndpointBuilder showExchangePattern​(boolean showExchangePattern)
        Shows the Message Exchange Pattern (or MEP for short). The option is a: boolean type. Default: true Group: formatting
      • showExchangePattern

        default LogEndpointBuilderFactory.LogEndpointBuilder showExchangePattern​(String showExchangePattern)
        Shows the Message Exchange Pattern (or MEP for short). The option will be converted to a boolean type. Default: true Group: formatting
      • showFuture

        default LogEndpointBuilderFactory.LogEndpointBuilder showFuture​(boolean showFuture)
        If enabled Camel will on Future objects wait for it to complete to obtain the payload to be logged. The option is a: boolean type. Default: false Group: formatting
      • showFuture

        default LogEndpointBuilderFactory.LogEndpointBuilder showFuture​(String showFuture)
        If enabled Camel will on Future objects wait for it to complete to obtain the payload to be logged. The option will be converted to a boolean type. Default: false Group: formatting
      • showStackTrace

        default LogEndpointBuilderFactory.LogEndpointBuilder showStackTrace​(boolean showStackTrace)
        Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled. The option is a: boolean type. Default: false Group: formatting
      • showStackTrace

        default LogEndpointBuilderFactory.LogEndpointBuilder showStackTrace​(String showStackTrace)
        Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled. The option will be converted to a boolean type. Default: false Group: formatting
      • showStreams

        default LogEndpointBuilderFactory.LogEndpointBuilder showStreams​(boolean showStreams)
        Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you will have to use Stream Caching. The option is a: boolean type. Default: false Group: formatting
      • showStreams

        default LogEndpointBuilderFactory.LogEndpointBuilder showStreams​(String showStreams)
        Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you will have to use Stream Caching. The option will be converted to a boolean type. Default: false Group: formatting
      • skipBodyLineSeparator

        default LogEndpointBuilderFactory.LogEndpointBuilder skipBodyLineSeparator​(boolean skipBodyLineSeparator)
        Whether to skip line separators when logging the message body. This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is. The option is a: boolean type. Default: true Group: formatting
      • skipBodyLineSeparator

        default LogEndpointBuilderFactory.LogEndpointBuilder skipBodyLineSeparator​(String skipBodyLineSeparator)
        Whether to skip line separators when logging the message body. This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is. The option will be converted to a boolean type. Default: true Group: formatting
      • style

        default LogEndpointBuilderFactory.LogEndpointBuilder style​(String style)
        Sets the outputs style to use. The option will be converted to a org.apache.camel.support.processor.DefaultExchangeFormatter$OutputStyle type. Default: Default Group: formatting