public static interface MockComponentBuilderFactory.MockComponentBuilder extends ComponentBuilder<org.apache.camel.component.mock.MockComponent>
| Modifier and Type | Method and Description |
|---|---|
default MockComponentBuilderFactory.MockComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default MockComponentBuilderFactory.MockComponentBuilder |
exchangeFormatter(org.apache.camel.spi.ExchangeFormatter exchangeFormatter)
Sets a custom ExchangeFormatter to convert the Exchange to a String
suitable for logging.
|
default MockComponentBuilderFactory.MockComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MockComponentBuilderFactory.MockComponentBuilder |
log(boolean log)
To turn on logging when the mock receives an incoming message.
|
build, build, doSetProperty, registerdefault MockComponentBuilderFactory.MockComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault MockComponentBuilderFactory.MockComponentBuilder log(boolean log)
log - the value to setdefault MockComponentBuilderFactory.MockComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault MockComponentBuilderFactory.MockComponentBuilder exchangeFormatter(org.apache.camel.spi.ExchangeFormatter exchangeFormatter)
exchangeFormatter - the value to setApache Camel