i want to do if  kafka server is not up then give connection exception then
log exception and retry twice.  
i am using camel 2.17 kafka producer and i given kafka host name wrong still
it not logging any exception and not retrying.
if i use camel 2.16 it is logining exception.

can you suggest on this. 

from("direct:kafkastart")                               
                .onException(Exception.class)
                        .maximumRedeliveries(2)
                        .redeliveryDelay(2000)
                        .retryAttemptedLogLevel(LoggingLevel.INFO)
                        .handled(true)
                        .log(LoggingLevel.INFO," ---messge after kafka 
exception=  ")
                .end()
        
        .log(LoggingLevel.INFO," ---messge before sending kafka=  ${body}")
        .to("kafka:10.7.128.12:9092?topic=test_topic")



--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-kafka-2-17-is-not-logging-tp5780110.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to