Re: Using custom prepareStatementStrategy

2018-07-14 Thread Claus Ibsen
Hi Try with newer Camel version. And make sure that your custom strategy is a bean with that id and its in the bean registry. On Sat, Jul 14, 2018 at 10:35 PM, bukaj_s wrote: > I must be doing something wrong. > > &prepareStatementStrategy=%23strategia due to: Could not find a suitable > setter

Re: Using custom prepareStatementStrategy

2018-07-14 Thread bukaj_s
I must be doing something wrong. &prepareStatementStrategy=%23strategia due to: Could not find a suitable setter for property: prepareStatementStrategy as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: ja

Re: Using custom prepareStatementStrategy

2018-07-03 Thread Claus Ibsen
Hi Use # syntax, see for example the unit test class SqlProducerAlwaysPopulateStatementTest On Sun, Jul 1, 2018 at 3:51 PM, bukaj_s wrote: > Hello. > How can one plug in his own implementation of prepareStatementStrategy? > Using prepareStatementStrategy=com.example.CustomStrategy is not working

Using custom prepareStatementStrategy

2018-07-01 Thread bukaj_s
Hello. How can one plug in his own implementation of prepareStatementStrategy? Using prepareStatementStrategy=com.example.CustomStrategy is not working for me. Thanks Best regards Bukaj