1 package net.walend.somnifugi; 2 3 import java.util.Properties ; 4 5 import net.walend.somnifugi.juc.PriorityChannelFactory; 6 import net.walend.somnifugi.juc.SimpleFanOutFactory; 7 import net.walend.somnifugi.juc.MessageSelectingPriorityChannelFactory; 8 9 14 15 public interface SomniProperties 16 { 17 20 public static final String DEFAULT = "default"; 21 22 26 public static final String COPYMODE = "copyMode"; 27 28 31 public static final String NOCOPY = "noCopy"; 32 33 36 public static final String DEEPCOPY = "deepCopy"; 37 38 41 public static final String SHALLOWCOPY = "shallowCopy"; 42 43 46 public static final String CHANNELFACTORYCLASSNAMEPROP = "ChannelFactoryClassName"; 47 48 51 public static final String DEFAULTQUEUECHANNELFACTORYCLASSNAME = MessageSelectingPriorityChannelFactory.class.getName(); 52 53 56 public static final String DEFAULTTOPICCHANNELFACTORYCLASSNAME = PriorityChannelFactory.class.getName(); 57 58 63 public static final String FANOUTFACTORYCLASSNAMEPROP = "FanOutFactoryClassName"; 64 65 68 public static final String DEFAULTFANOUTFACTORYCLASSNAME = SimpleFanOutFactory.class.getName(); 69 70 74 public static final String CAPACITYPROP = "capacity"; 75 76 77 81 public static final String TIMEOUTPROP = "timeout"; 82 83 86 public static final String WRAPPEDPROP = "wrapped-"; 87 88 public static final String CONNECTION = "Connection"; 91 public static final String CONNECTIONFACTORY = "ConnectionFactory"; 92 93 public static final String QUEUECONTEXTNAMEKEY = "SomniQueueContext"; 95 public static final String QUEUEDEFAULTCONTEXTNAME = "DefaultSomniQueueContext"; 96 97 public static final String TOPICCONTEXTNAMEKEY = "SomniTopicContext"; 98 public static final String TOPICDEFAULTCONTEXTNAME = "DefaultSomniTopicContext"; 99 } 100 | Popular Tags |