On Mon, Jan 17, 2022 at 2:42 PM Vyacheslav Boyko wrote:
>
> Hi, Claus!
>
> It's not a point to stop you doing that.
> But I use .inputType() in every route in which I am able to guarantee
> the protocol. I cannot guarantee input type from Kafka because it is
> byte array, but every in-memory
Hi, Claus!
It's not a point to stop you doing that.
But I use .inputType() in every route in which I am able to guarantee
the protocol. I cannot guarantee input type from Kafka because it is
byte array, but every in-memory routes I do.
It is like interface for OOP - the contract. When I read
Hi
We have some less known features in camel-core
https://camel.apache.org/manual/validator.html
https://camel.apache.org/manual/transformer.html
That can be used to associate route(s) with a data type contract, and
have the route automatically validate if the input/output is as
expected to this