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

Matthieu Morel commented on S4-5:
---------------------------------

I ported a simple example to this API and it seems to work nicely.

Notes:
- "onField" should rather be named "onStream" no?
- for dispatching to several types of PEs, you currently need to write 
.to("1").to("2") right? would it be possible to write .to("1", "2") ?
- the "stream" component has now disappeared from the API. Shouldn't it be 
included? It may be nicer to define streams as first class entities and include 
the key finder in their definition (instead of writing 
"emit.onField.withKeyFinder")
- edsl depends on core, that makes it impossible to write app-level tests in 
core that would use the fluent API. Not sure it's an issue though.

                
> Prototype app builder
> ---------------------
>
>                 Key: S4-5
>                 URL: https://issues.apache.org/jira/browse/S4-5
>             Project: Apache S4
>          Issue Type: New Feature
>    Affects Versions: 0.5
>            Reporter: Leo Neumeyer
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: s4-app.png, s4-fluent.pdf
>
>
> Extend Guice AbstractModule to create a simple application builder layer. The 
> idea is to evaluate if we can use Guice to do all the wiring including PEs 
> and Streams and Apps.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to