You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2017/05/22 09:08:04 UTC

[jira] [Commented] (CAMEL-11306) Java 8 DSL improvements - Food for thought

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

Luca Burgazzoli commented on CAMEL-11306:
-----------------------------------------

IMHO one interesting thing - not really java 8 relevant - is that you can create a single "route" the spring boot way so I think it would be a nice to have if our camel core would collect beans of type RoutesDefinitions and/or eventually a functional interface for which the RoutesDefinitions object is preconfigured.

Another non java 8 topic is to be able to create an endpoint using a type safe dsl builder, but that's already in the pipe :)



> Java 8 DSL improvements - Food for thought
> ------------------------------------------
>
>                 Key: CAMEL-11306
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11306
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Claus Ibsen
>             Fix For: Future
>
>
> [~lb] and [~nferraro] here is a video about SI and their Java 8 DSL. Its in German but the video is showing source code. 
> It may be of inspiration for areas to improve the Camel Java 8 DSL a bit more.
> https://www.youtube.com/watch?v=uTqNj91cKuA&feature=youtu.be&a
> Mind that the power of Camel DSL is that Java and XML are inter-changeable and that users can do both of them on equal foot. The pervious Java DSL was very complex, but it seems they have looked at Camel and got a bit inspired.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)