I use Apache Camel in a Spring Boot Java project. I have to parse a csv and split the lines with a separator. I use camel bindy to parse the csv and read it as a pojo bean class.
Here is how I configure the camel bindy
@CsvRecord( separator = "," )
public Class MyClass {
}
Here is my question: how can I change the separator value dynamically, reading it from a property? I've tried @CsvRecord( separator = "${my-prop.separator}" )
but it did not work.