You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/29 17:14:00 UTC

[jira] [Work logged] (CAMEL-13468) Exception tag is missing when Camel Java DSL is converted into XML using dumpRouteAsXml() operation

     [ https://issues.apache.org/jira/browse/CAMEL-13468?focusedWorklogId=234688&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-234688 ]

ASF GitHub Bot logged work on CAMEL-13468:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Apr/19 17:13
            Start Date: 29/Apr/19 17:13
    Worklog Time Spent: 10m 
      Work Description: shailendra14k commented on pull request #2893: [CAMEL-13468]Exception tag is missing when Camel Java DSL is converte…
URL: https://github.com/apache/camel/pull/2893
 
 
   …d into XML using dumpRouteAsXml() operation
   
   JIRA:- https://issues.apache.org/jira/browse/CAMEL-13468
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 234688)
            Time Spent: 10m
    Remaining Estimate: 0h

> Exception tag is missing when Camel Java DSL is converted into XML using dumpRouteAsXml() operation
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-13468
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13468
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core
>    Affects Versions: 2.22.4, 3.0.0-M1
>            Reporter: Shailendra Kumar singh
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Exception tag is missing when Camel Java DSL is converted into XML using dumpRouteAsXml() operation
> #Java DSL route
> {code:java}
> public void configure() {
> 	onException(Exception.class).log("${exception.stacktrace}").logStackTrace(true)
> 			.handled(true);
> 	from("timer://foo?fixedRate=true&period=10000&repeatCount=101").routeId("test")
> 			.log("Hello World");
> }
> {code}
> #XML converted by dumpRouteAsXml() operation(*<exception>java.lang.Exception</exception>* tag is missing)
> {code:java}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <route xmlns="http://camel.apache.org/schema/spring" customId="true" id="test">
>     <from uri="timer://foo?fixedRate=true&amp;period=10000&amp;repeatCount=101"/>
>     <onException id="onException1">
>         <redeliveryPolicy logStackTrace="true"/>
>         <log id="log1" message="${exception.stacktrace}"/>
>     </onException>
>     <log id="log2" message="Hello World"/>
> </route>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)