Package com.dianping.cat.report.task.alert.sender.spliter

Examples of com.dianping.cat.report.task.alert.sender.spliter.SpliterManager


public class SplitManagerTest extends ComponentTestCase {

  @Test
  public void test() {
    SpliterManager manager = lookup(SpliterManager.class);

    String content1 = manager.process("test<br/>", AlertChannel.MAIL);
    String content2 = manager.process("test<br/>", AlertChannel.SMS);
    String content3 = manager.process("test<br/>", AlertChannel.WEIXIN);
   
    System.out.println(content1);
    System.out.println(content2);
    System.out.println(content3);
  }
View Full Code Here

TOP

Related Classes of com.dianping.cat.report.task.alert.sender.spliter.SpliterManager

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.