[
https://issues.apache.org/jira/browse/CAMEL-13658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866590#comment-16866590
]
Luca Burgazzoli commented on CAMEL-13658:
-----------------------------------------
I saw it but it is not possible to detect if a definition support outputs at
compile time, i.e. with an instanceOf (well, theoretically you can check for
NoOutputDefinition but there's no guarantees).
> 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
> Priority: Minor
> Fix For: 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)