[
https://issues.apache.org/activemq/browse/CAMEL-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58545#action_58545
]
Mitko Kolev commented on CAMEL-2549:
------------------------------------
Hi Claus,
I was actually planning to submit a patch tomorrow (must implement a few more
tests).
The new stuff I implemented so far are:
* All refactorings pointed out in the feedback. Some details here - I
implemented the in(out)-message body to be a {{ExecResult}} (with stdout,
stderr, outFile, exit code etc.); stderr and the exit value are additionally
written in the headers for convenience.
* Implementation of the functionality with the {{outFile}} - works basically as
Martin suggested (body is {{ExecResult}}, and there is an {{ExecResult}} type
converter)
* The in-message body, that the component receives, is converted to
{{InputStream}} and sent as input to the stdin of the executable (was asked in
the mailing lists)
Regards,
Mitko
> Camel Exec component
> --------------------
>
> Key: CAMEL-2549
> URL: https://issues.apache.org/activemq/browse/CAMEL-2549
> Project: Apache Camel
> Issue Type: New Feature
> Affects Versions: 2.3.0
> Environment: Tested on Windows XP and Linux
> Reporter: Mitko Kolev
> Assignee: Martin Krasser
> Fix For: 2.3.0
>
> Attachments: camel-exec-patch.diff, camel-exec-patch2.diff
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.