You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicola Ferraro (JIRA)" <ji...@apache.org> on 2017/10/03 08:30:00 UTC

[jira] [Commented] (CAMEL-11870) camel-reactive-streams: use the Flow interfaces in Java 9

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

Nicola Ferraro commented on CAMEL-11870:
----------------------------------------

PoC here: https://github.com/nicolaferraro/jdk9-reactive-streams

I'm also trying to include it in reactive-streams but it is does not solve all problems for library writers because it's asymmetric, so probably it won't be included there: https://github.com/reactive-streams/reactive-streams-jvm/issues/394

> camel-reactive-streams: use the Flow interfaces in Java 9
> ---------------------------------------------------------
>
>                 Key: CAMEL-11870
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11870
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Nicola Ferraro
>            Assignee: Nicola Ferraro
>             Fix For: 2.21.0
>
>
> We should use Java 9 flow interfaces for reactive-streams objects produced and consumed by camel-reactive-streams.
> We can leverage the multi-release-jar feature to provide interfaces that extend from Java 9 Flow.xxx only when running on Java 9.
> Some hints here: http://kto.so/2017/09/30/the-practical-truth-about-multi-release-jars/



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)