Package org.apache.camel.processor

Examples of org.apache.camel.processor.Logger


    protected RedeliveryPolicy createRedeliveryPolicy() {
        return new RedeliveryPolicy();
    }

    protected Logger createLogger() {
        return new Logger(LogFactory.getLog(DeadLetterChannel.class), LoggingLevel.ERROR);
    }
View Full Code Here


        String name = getLogName();
        if (name == null) {
            name = routeContext.getRoute().getId();
        }
        Logger logger = new Logger(name, getLoggingLevel());

        return new LogProcessor(exp, logger);
    }
View Full Code Here

        policy.setRedeliveryDelay(0);
        return policy;
    }

    protected Logger createLogger() {
        return new Logger(LogFactory.getLog(DefaultErrorHandler.class), LoggingLevel.ERROR);
    }
View Full Code Here

    private Logger noReplyLogger;

    public ServerChannelHandler(NettyConsumer consumer) {
        super();
        this.consumer = consumer;   
        this.noReplyLogger = new Logger(LOG, consumer.getConfiguration().getNoReplyLogLevel());
    }
View Full Code Here

        super(endpoint);
        this.endpoint = endpoint;
        this.lazySessionCreation = endpoint.getConfiguration().isLazySessionCreation();
        this.timeout = endpoint.getConfiguration().getTimeout();
        this.sync = endpoint.getConfiguration().isSync();
        this.noReplyLogger = new Logger(LOG, endpoint.getConfiguration().getNoReplyLogLevel());
    }
View Full Code Here

    public NettyProducer(NettyEndpoint nettyEndpoint, NettyConfiguration configuration) {
        super(nettyEndpoint);
        this.configuration = configuration;
        this.context = this.getEndpoint().getCamelContext();
        this.noReplyLogger = new Logger(LOG, configuration.getNoReplyLogLevel());
    }
View Full Code Here

    protected Endpoint<Exchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception {
        LoggingLevel level = getLoggingLevel(parameters);
        Object value = parameters.remove("groupSize");

        Logger logger;
        if (value != null) {
            logger = new ThroughputLogger(remaining, level, ObjectConverter.toInteger(value));
        }
        else {
            logger = new Logger(remaining, level);
        }

        return new ProcessorEndpoint(uri, this, logger);
    }
View Full Code Here

    private Logger noReplyLogger;

    public ServerChannelHandler(NettyConsumer consumer) {
        super();
        this.consumer = consumer;   
        this.noReplyLogger = new Logger(LOG, consumer.getConfiguration().getNoReplyLogLevel());
    }
View Full Code Here

        super(endpoint);
        this.endpoint = endpoint;
        this.lazySessionCreation = endpoint.getConfiguration().isLazySessionCreation();
        this.timeout = endpoint.getConfiguration().getTimeout();
        this.sync = endpoint.getConfiguration().isSync();
        this.noReplyLogger = new Logger(LOG, endpoint.getConfiguration().getNoReplyLogLevel());
    }
View Full Code Here

        super(endpoint, processor);
        this.endpoint = endpoint;
        this.address = endpoint.getAddress();
        this.acceptor = endpoint.getAcceptor();
        this.sync = endpoint.getConfiguration().isSync();
        this.noReplyLogger = new Logger(LOG, endpoint.getConfiguration().getNoReplyLogLevel());
    }
View Full Code Here

TOP

Related Classes of org.apache.camel.processor.Logger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.