kaoto
kaoto copied to clipboard
JDBC Datasource property should allow to select or create a bean
When configuring a JDBC component you have to specify a mandatory Data Source Name. This can be the name of an existing bean (don't use the #
for a bean reference, this doesn't work in this case...just use the plain name) or alternatively you can put there one of 2 constants:
-
dataSource
-
default
If you specify one of these 2 constants then the JDBC component will try to lookup a datasource bean from the registry. (See the tooltip in the screenshot below)
Source Example:
Ok, if I'm understanding correctly, in this case, the dataSource
field should allow to create or select existing beans but without having a #
prefix.
It can be also a predefined constant...see above description
yup, I saw that part as well. Judging by the list of custom features this field might require, I think it would be better to provide something custom for this case. It could also automatically add predefined beans for known databases.