Luca Burgazzoli created CAMEL-11550:
---------------------------------------

             Summary: Component extensions
                 Key: CAMEL-11550
                 URL: https://issues.apache.org/jira/browse/CAMEL-11550
             Project: Camel
          Issue Type: New Feature
            Reporter: Luca Burgazzoli
            Assignee: Luca Burgazzoli
            Priority: Minor
             Fix For: 2.20.0


Some time ago we have introduced the PIngCheck aka ComponentVerifier interface 
that extends the functionality of a component by providing a way to validate 
the uri options but it would be nice to have a generic way for a component to 
expose extensions so we can have something like:

{code:java}
    class Component {
        List<ComponentExtension> getExtensions();
        <T extends ComponentExtension> Optional<T> getExtension(Class<T> type);
    }
{code}

So i.e. we can add a meta-data extension to grab the tables description of 
ServiceNow





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to