Hi I have been combining and throwing stdout and stderr back to the Camel route with 2>&1 in my BASH script.
This is being picked up as the body, as expected by exec. However, picking stderr up as the Exception through Camel would be very neat. Exec is a nifty component. Thanks again. From: Claus Ibsen-2 [via Camel] [mailto:[email protected]] Sent: 15 October 2015 06:11 To: BURN, James Subject: Re: Output of exec used for exception handling to enable message redelivery Hi I wonder if we cannot access the stdout stderr even if there is an exception, so you can get hold of that data from the exception. https://issues.apache.org/jira/browse/CAMEL-9225 On Wed, Oct 14, 2015 at 6:15 PM, jamesburn <[hidden email]</user/SendEmail.jtp?type=node&node=5772670&i=0>> wrote: > Hmm, thanks Claus. So we're a few versions off! > > I think I can work around this for now. Though if the Exception handling > requirements become more complex (depending on the demands of my end users), > I will have to upgrade. > > Possibly off topic, but does anyone know when ServiceMix will move onto > Camel 2.16? I see version 6.0 is Camel 2.15.2 > > Thanks > > James > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Output-of-exec-used-for-exception-handling-to-enable-message-redelivery-tp5772641p5772652.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition ________________________________ If you reply to this email, your message will be added to the discussion below: http://camel.465427.n5.nabble.com/Output-of-exec-used-for-exception-handling-to-enable-message-redelivery-tp5772641p5772670.html To start a new topic under Camel - Users, email [email protected]<mailto:[email protected]> To unsubscribe from Output of exec used for exception handling to enable message redelivery, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5772641&code=SmFtZXMuQnVybkBvdXAuY29tfDU3NzI2NDF8OTY3ODExMDQ2>. NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> Oxford University Press (UK) Disclaimer This message is confidential. You should not copy it or disclose its contents to anyone. You may use and apply the information for the intended purpose only. OUP does not accept legal responsibility for the contents of this message. Any views or opinions presented are those of the author only and not of OUP. If this email has come to you in error, please delete it, along with any attachments. Please note that OUP may intercept incoming and outgoing email communications. -- View this message in context: http://camel.465427.n5.nabble.com/Output-of-exec-used-for-exception-handling-to-enable-message-redelivery-tp5772641p5772680.html Sent from the Camel - Users mailing list archive at Nabble.com.
