Working with Apache Avro for data serialization.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
transport | path | common | true | org.apache.camel.component.avro.AvroTransport | http netty |
Transport to use | |
port | path | common | true | int | Port number to use | ||
host | path | common | true | java.lang.String | Hostname to use | ||
messageName | path | common | java.lang.String | The name of the message to send. | |||
protocol | parameter | common | org.apache.avro.Protocol | Avro protocol to use | |||
protocolClassName | parameter | common | java.lang.String | Avro protocol to use defined by the FQN class name | |||
protocolLocation | parameter | common | java.lang.String | Avro protocol location | |||
reflectionProtocol | parameter | common | boolean | If protocol object provided is reflection protocol. Should be used only with protocol parameter because for protocolClassName protocol type will be auto detected | |||
singleParameter | parameter | common | boolean | If true, consumer parameter won't be wrapped into array. Will fail if protocol specifies more then 1 parameter for the message | |||
uriAuthority | parameter | common | java.lang.String | Authority to use (username and password) | |||
bridgeErrorHandler | parameter | consumer | boolean | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exceptionHandler | parameter | consumer (advanced) | org.apache.camel.spi.ExceptionHandler | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored. | |||
exchangePattern | parameter | consumer (advanced) | org.apache.camel.ExchangePattern | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the exchange pattern when the consumer creates an exchange. | ||
synchronous | parameter | advanced | false | boolean | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |