Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
We can add support for letting property placeholders be optional, if the key starts with ?
eg so you can do
to("kafka:cheese?{{?maxBlock}}")
And maxBlock is a key=value
But for endpoints we should allow the value to indicate its optional which makes the option optional.
to("kafka:cheese?maxBlockMs={{?myBlock}}")
So the producer will then only use maxBlockMs if there is a value, otherwise the uri becomes "kafka:cheese"
Attachments
Issue Links
- is related to
-
CAMEL-16219 camel-core - Kamelet - Add support for optional template parameters
- Resolved