Avro

Avro

Description: Camel Avro data format
Scheme: avro
Syntax: avro:transport:host:port/messageName
Maven: org.apache.camel/camel-avro/2.16.1
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)
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating 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).

avro consumer