Examples of LMTPProtocolHandlerChain


Examples of org.apache.james.protocols.lmtp.LMTPProtocolHandlerChain

  public void start() throws Exception
  {
    Logger logger = new LMTPProtocolLogger();

    LMTPProtocolHandlerChain chain = new LMTPProtocolHandlerChain();
    chain.add(0, new ElasticInboxDeliveryHandler(backend));
    chain.add(0, new ValidRcptHandler());
    chain.wireExtensibleHandlers();

    server = new NettyServer(new SMTPProtocol(chain, new LMTPServerConfig(), logger));
    server.setListenAddresses(new InetSocketAddress(Configurator.getLmtpPort()));
    server.setMaxConcurrentConnections(Configurator.getLmtpMaxConnections());
    server.setTimeout(LMTPServerConfig.CONNECTION_TIMEOUT);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.