Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2706

option to exec component to not use stderr when stdout is empty

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            chuck Chuck Murcko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: