You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Sanojit Nayak (Jira)" <ji...@apache.org> on 2020/04/16 08:20:00 UTC

[jira] [Created] (CAMEL-14919) DefaultCocsumerTemplate is not allowing to set the custom ExceptionHandler

Sanojit Nayak created CAMEL-14919:
-------------------------------------

             Summary: DefaultCocsumerTemplate is not allowing to set the custom ExceptionHandler
                 Key: CAMEL-14919
                 URL: https://issues.apache.org/jira/browse/CAMEL-14919
             Project: Camel
          Issue Type: Bug
            Reporter: Sanojit Nayak


We are using org.apache.camel.DefaultConsumerTemplate.receive(String endpointUri, long timeout) to consume the messages from a Kafka topic.

We are facing an issue, If we interrupt the current thread it is logging the exception by using “ org.apache.camel.util.CamelLogger”.

Therefore we don’t get any handle to set the custom exception handler for the Default Consumer created by ConsumerTemplate.

  !DefaultCocsumerTemplate_ExceptionLog.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)