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

Claus Ibsen commented on CAMEL-7779:
------------------------------------

Yeah maybe something alike:
{code}
String uri = endpointBuilder("file").option("delete", true).option("delay", 
5000).buildUri();
{code}

Though in the future we may generate per component endpoint builder using their 
options name - there is a ticket about that.

{code}
String uri = fileEndpoint().delete(true).delay(5000).buildUri();
{code}

> Endpoint URI builder for Java RouteBuilder DSL
> ----------------------------------------------
>
>                 Key: CAMEL-7779
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7779
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Serge Smertin
>            Priority: Minor
>
> Sometimes we may want to add configuration into our RouteBuilders on endpoint 
> parameters like number of concurrent consumers or types of some exchanges. I 
> guess it might be pretty useful.



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

Reply via email to