Yes, and for stacktrace and other error headers look at the standard Camel headers for this. You can access them and build a generic error handler route that just prints the error output. Try it out.
On Thu, Jun 23, 2016 at 11:48 AM, mabahma [via Camel] < ml-node+s465427n5784345...@n5.nabble.com> wrote: > thank you very much > > I case of errors or exceptions, what is the output of this components, > does it ouput the whole stacktrace > > ? is it possible to custumize this ? > > souciance wrote > You can access the message history from java code as stated on the > documentation. > List<MessageHistory> list = exchange.getProperty(Exchange.MESSAGE_HISTORY, > List.class); > > From there you can write your custom report. > > On Thu, Jun 23, 2016 at 10:03 AM, mabahma [via Camel] < > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5784345&i=0>> > wrote: > > > Ok thank you very much > > > > But this component uses logging > > > > how can i to copy the logged message to a report ? > > > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://camel.465427.n5.nabble.com/Re-Camel-route-Audit-and-processing-summury-tp5784339p5784340.html > > To start a new topic under Camel - Users, email > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5784345&i=1> > > To unsubscribe from Camel - Users, click here > > < > http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > > . > > 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> > <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%3E> > > > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Re-Camel-route-Audit-and-processing-summury-tp5784339p5784345.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > 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> > -- View this message in context: http://camel.465427.n5.nabble.com/Re-Camel-route-Audit-and-processing-summury-tp5784339p5784347.html Sent from the Camel - Users mailing list archive at Nabble.com.