camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Adams (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-2706) option to exec component to not use stderr when stdout is empty
Date Mon, 10 May 2010 17:55:41 GMT
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


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.


Mime
View raw message