You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/07/16 14:31:33 UTC

[jira] Created: (CAMEL-1836) Log component - option to log stacktrace

Log component - option to log stacktrace
----------------------------------------

                 Key: CAMEL-1836
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1836
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
    Affects Versions: 2.0-M2
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Trivial
             Fix For: 2.0.0




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CAMEL-1836) Log component - option to log stacktrace

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen closed CAMEL-1836.
------------------------------


> Log component - option to log stacktrace
> ----------------------------------------
>
>                 Key: CAMEL-1836
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1836
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1836) Log component - option to log stacktrace

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52847#action_52847 ] 

Charles Moulliard commented on CAMEL-1836:
------------------------------------------

Stacktrace is there now :

2009-07-16 16:40:52,527 [main           ] DEBUG Pipeline                       - Message exchange has failed so breaking out of pipeline: Exchange[Message: Hello] Exception: java.lang.Exception: This is the boss. Not allowed to connect !
2009-07-16 16:40:52,527 [main           ] DEBUG ProcessorEndpoint$1            - Starting producer: Producer[log://org.apache.camel.BEAN_TEST?multiline=true&showCaughtException=true&showProperties=true&showStackTrace=true]
2009-07-16 16:40:52,527 [main           ] DEBUG ProducerCache                  - Adding to producer cache with key: Endpoint[log://org.apache.camel.BEAN_TEST?multiline=true&showCaughtException=true&showProperties=true&showStackTrace=true] for producer: Producer[log://org.apache.camel.BEAN_TEST?multiline=true&showCaughtException=true&showProperties=true&showStackTrace=true]
2009-07-16 16:40:52,543 [main           ] INFO  BEAN_TEST                      - Exchange[
, Properties:{CamelBeanHolder=bean: myBean, CamelExceptionCaught=java.lang.Exception: This is the boss. Not allowed to connect !}
, BodyType:String
, Body:Hello
, CaughtExceptionType:java.lang.Exception, CaughtExceptionMessage:This is the boss. Not allowed to connect !, StackTrace:java.lang.Exception: This is the boss. Not allowed to connect !
	at org.apache.camel.component.bean.BeanWithExceptionTryCatchRouteTest$MyBean.checkHeader(BeanWithExceptionTryCatchRouteTest.java:107)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:193)
	at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:115)
	at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:118)
	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:61)
	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:61)
	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:148)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:73)
	at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:63)
	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:148)
	at org.apache.camel.processor.UnitOfWorkProcessor.processNext(UnitOfWorkProcessor.java:54)
	at org.apache.camel.processor.DelegateProcessor.process(DelegateProcessor.java:48)
	at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:45)
	at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:171)
	at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:156)
	at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:142)
	at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:156)
	at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:92)
	at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:96)
	at org.apache.camel.impl.DefaultProducerTemplate.sendBodyAndHeader(DefaultProducerTemplate.java:135)
	at org.apache.camel.impl.DefaultProducerTemplate.sendBodyAndHeader(DefaultProducerTemplate.java:331)
	at org.apache.camel.component.bean.BeanWithExceptionTryCatchRouteTest.testHeaderOtherException(BeanWithExceptionTryCatchRouteTest.java:78)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.test.context.junit4.SpringTestMethod.invoke(SpringTestMethod.java:160)
	at org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:233)
	at org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:333)
	at org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217)
	at org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197)
	at org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:160)
	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
	at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:97)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Ticket can be closed

> Log component - option to log stacktrace
> ----------------------------------------
>
>                 Key: CAMEL-1836
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1836
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-1836) Log component - option to log stacktrace

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1836.
--------------------------------

    Resolution: Fixed

trunk: 794651.

> Log component - option to log stacktrace
> ----------------------------------------
>
>                 Key: CAMEL-1836
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1836
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-1836) Log component - option to log stacktrace

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-1836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52845#action_52845 ] 

Claus Ibsen commented on CAMEL-1836:
------------------------------------

And trunk: 794688

> Log component - option to log stacktrace
> ----------------------------------------
>
>                 Key: CAMEL-1836
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1836
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M2
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.