Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
2.15.2.Final
-
None
Description
I have a UIInput where the end user should enter a class name for a Camel route builder class.
So I have a completer that implements the logic to find all route builders in the java source
routeBuilder.setCompleter(new RouteBuilderCompleter(facet));
And that only works from cli in non interactive mode, eg
[foo]$ camel-new-endpoint-routebuilder --componentName smtp --instanceName mail --routeBuilder com.foo.
com.foo.MyRoute com.foo.YourRoute
When pressing TAB it shows the 2 route builder classes I have.
But in interactive mode the TAB does not work
Press <ENTER> to confirm, or <CTRL>+C to cancel.
? componentName (Name of component type to add): [0-180] 146
? routeBuilder (The RouteBuilder class to use): co
I do not get any suggestions when pressing TAB.