[ https://issues.apache.org/activemq/browse/CAMEL-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-2706. -------------------------------- Fix Version/s: (was: 2.4.0) Resolution: Fixed trunk: 944656. It will now *not* fallback to use stderr if stdout is empty. You can use the new option to turn back the old behavior. Updated wiki page as well. > option to exec component to not use stderr when stdout is empty > --------------------------------------------------------------- > > Key: CAMEL-2706 > URL: https://issues.apache.org/activemq/browse/CAMEL-2706 > Project: Apache Camel > Issue Type: Improvement > Affects Versions: 2.3.0 > Reporter: Chuck Adams > Assignee: Claus Ibsen > Priority: Minor > Fix For: 2.3.0 > > > When the camel exec component gets no output on stdout, it returns the > contents of stderr when performing its standard string conversion. Could an > option be added to exec: urls to suppress this behavior, so that when stdout > is empty, it remains empty regardless of stderr? IMHO suppressing it should > be the default behavior, since one is rarely able to treat stderr's content > the same as stdout except for simple cases like logging, but as long as the > option is available, I'll take it either way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.