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

Claus Ibsen commented on CAMEL-10031:
-------------------------------------

And then if the user setup another endpoint named bar, then all he/she does is 
adding
{code}
  camel.endpoint.ftp.bar.host-name=myotherserver
  camel.endpoint.ftp.bar.directory-name=outbox
  camel.endpoint.ftp.bar.username=you
  camel.endpoint.ftp.bar.password=donottell
{code}

But ideally we need Spring Boot to support a named bean (qualifier in their 
terms AFAIR) so we can do
{code}
 camel.endpoint.ftp.{id}
{code}
As the prefix and have it in the spring boot auto configuration source code, 
then we can have that out of the box in the Camel components, and tooling will 
support this in the future as part of Spring Boot official standard.

> camel-spring-boot - Add endpoint options as type-safe configuration properties
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-10031
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10031
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-spring-boot
>            Reporter: Claus Ibsen
>
> See CAMEL-9419.
> We can now configure this for all the components. But for endpoints its a bit 
> more as you can have many endpoints with different configuration.
> So either you assign an id to the endpoint you configure, and then need to 
> refer to the endpoint by id, in the camel routes. Or we figure out something 
> else. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to