Claus Ibsen created CAMEL-22596:
-----------------------------------

             Summary: camel-pqc - Add enum values for better tooling
                 Key: CAMEL-22596
                 URL: https://issues.apache.org/jira/browse/CAMEL-22596
             Project: Camel
          Issue Type: Improvement
            Reporter: Claus Ibsen
             Fix For: 4.x


in the new PQCDataFormat its a good idea to add enums = "a,b,c" in the metadata 
annotation so kaoto and tooling knows which one you can choose

also we try to avoid setting the default value to the instance variable as the 
route dumper then include this value, ie "AES" but this requires to set the 
default value in the implementation side, or in the reifier if its null

 
@XmlAttribute
@Metadata(defaultValue = "MLKEM")
private String keyEncapsulationAlgorithm = "MLKEM";
@XmlAttribute
@Metadata(defaultValue = "AES")
private String symmetricKeyAlgorithm = "AES";



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to