Description
According to the documentation, it should be possible to use a custom ResultSetConversionStrategy on the camel-cassandraql component.
However, it seems it is not accepted in all cases and ends up failing to create the custom conversion. For example, using #bean:org.my.package.MyStrategy causes a failure similar to this:
Caused by: java.lang.IllegalArgumentException: Unknown conversion strategy #bean:org.apache.camel.kafkaconnector.cassandra.clients.dao.TestResultSetConversionStrategy
at org.apache.camel.component.cassandra.ResultSetConversionStrategies.fromName(ResultSetConversionStrategies.java:112) ~[camel-cassandraql-3.3.0.jar:3.3.0]
at org.apache.camel.component.cassandra.CassandraComponent.createEndpoint(CassandraComponent.java:82) ~[camel-cassandraql-3.3.0.jar:3.3.0]
at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:237) ~[camel-support-3.3.0.jar:3.3.0]
Looking at the current code on master, this does seem to be that the code on
CassandraComponent.java and, more importantly, ResultSetConversionStrategies.java do not behave like stated on the documentation (ie.: "... Anything else, if resultSetConversionStrategy is a custom implementation of the ResultSetConversionStrategy ...").