Hello,

What is the best way to ensure that components implementing
LogListener are created before CamelLogProcesser is created? We are
using only annotations and not defining anything using xml.

import org.springframework.stereotype.Component;

@Component
public class LogListener implements org.apache.camel.spi.LogListener {

@Override
public String onLog(Exchange exchange, CamelLogger camelLogger, String
message) {
// the logic is hers
}
}

-- 
Veijo Länsikunnas

Reply via email to