[
https://issues.apache.org/jira/browse/CAMEL-13658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16867007#comment-16867007
]
Claus Ibsen commented on CAMEL-13658:
-------------------------------------
Okay got a working prototype doing a bit more testing before merging. Now you
can check via instanceof OutputNode to know if it supports output or not - we
also use this in the apt compiler plugin when generating model json schema
files.
> Refine ProcessorDefinition output handling
> ------------------------------------------
>
> Key: CAMEL-13658
> URL: https://issues.apache.org/jira/browse/CAMEL-13658
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Luca Burgazzoli
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.0.0, 3.0.0.M4
>
>
> The ProcessDefinition class is the base class for most of the DSL /
> Definitions and defines a number of methods related to outputs such as:
> {code:java}
> public abstract List<ProcessorDefinition<?>> getOutputs();
> public abstract boolean isOutputSupported();
> {code}
> The information about the ability to handle outputs is thus available at
> runtime only which complicates the creation of alternative DSLs (i.e
> https://github.com/apache/camel-k-runtime/issues/80)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)