You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/03/21 11:11:38 UTC
[jira] [Commented] (CAMEL-7779) Endpoint URI builder for Java
RouteBuilder DSL
[ 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)