[ 
https://issues.apache.org/jira/browse/CAMEL-16674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361422#comment-17361422
 ] 

Claus Ibsen commented on CAMEL-16674:
-------------------------------------

You could do like camel-pubnub: 
https://github.com/apache/camel/tree/main/components/camel-pubnub

1 The configuration options from the endpoint is moved into its own 
xxxConfiguration class
2 Then you can reuse that configuration class on both component and endpoint, 
which allows you to configure on both levels and have endpoint override 
component.

We use this model more and more as it gives the most flexibility and power. 
However if there are some options that must only be on endpoint, then keep them 
there, and do not move into a configuration class.

> Camel component // Huawei Cloud FunctionGraph Component
> -------------------------------------------------------
>
>                 Key: CAMEL-16674
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16674
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Hokutor
>            Priority: Major
>             Fix For: 3.11.0
>
>
> New camel component to integrate with Huawei Cloud serverless Function Graph 
> - [Function 
> Graph](https://www.huaweicloud.com/intl/en-us/product/functiongraph.html)
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to