Hi, 

I am using camel 2.5.0 and I want to handle/process the messages that were
filtered due to the idempotent consumer. An empty response is returned to
the caller and I want to customize the response. 

Here is my route:

from("cxf:bean:secureCxfEndPoint")
    
.idempotentConsumer(simple("${body[0].requestHeader.getTransactionId}"),
        FileIdempotentRepository.fileIdempotentRepository(new
File("src/main/resources/temp.txt"), 1))
                                                
        .process(new RechargeServiceReqToAPI())
        .to("direct:processEmeraldRequests")
        .process(new RechargeServiceRespToAPI())        
        ;

I want to process the filtered messages using errorHandler but it doesn't
work. 

Thanks

--
View this message in context: 
http://camel.465427.n5.nabble.com/IdempotentConsumer-filtered-messages-tp3414967p3414967.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to