[
https://issues.apache.org/jira/browse/CAMEL-9225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958340#comment-14958340
]
Claus Ibsen commented on CAMEL-9225:
------------------------------------
Somewhere along the lines of
https://github.com/apache/camel/blob/master/components/camel-exec/src/main/java/org/apache/camel/component/exec/impl/DefaultExecCommandExecutor.java#L79
we can get the exit code from the ExecuteException and the stdout / stderr is
the out/err a bit above.
> camel-exec - Enrich exception with stdout/stderr
> ------------------------------------------------
>
> Key: CAMEL-9225
> URL: https://issues.apache.org/jira/browse/CAMEL-9225
> Project: Camel
> Issue Type: Improvement
> Components: camel-exec
> Reporter: Claus Ibsen
> Fix For: 2.17.0
>
>
> So users can get access to the output that may have been written to
> stdout/stderr during the processing.
> See nabble
> http://camel.465427.n5.nabble.com/Output-of-exec-used-for-exception-handling-to-enable-message-redelivery-tp5772641.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)