VirtualTopic vt = (VirtualTopic) virtualDestination; String prefix = vt.getPrefix() != null ? vt.getPrefix() : ""; String postfix = vt.getPostfix() != null ? vt.getPostfix() : ""; if (prefix.endsWith(".")) { prefix = prefix.substring(0, prefix.length() - 1);
public VirtualTopicInterceptor(Destination next, VirtualTopic virtualTopic) { super(next); this.prefix = virtualTopic.getPrefix(); this.postfix = virtualTopic.getPostfix(); this.local = virtualTopic.isLocal(); this.concurrentSend = virtualTopic.isConcurrentSend(); this.transactedSend = virtualTopic.isTransactedSend(); this.dropMessageOnResourceLimit = virtualTopic.isDropOnResourceLimit(); this.setOriginalDestination = virtualTopic.isSetOriginalDestination(); }
public Destination intercept(Destination destination) { return selectorAware ? new SelectorAwareVirtualTopicInterceptor(destination, getPrefix(), getPostfix()) : new VirtualTopicInterceptor(destination, getPrefix(), getPostfix()); }
public VirtualTopicInterceptor(Destination next, VirtualTopic virtualTopic) { super(next); this.prefix = virtualTopic.getPrefix(); this.postfix = virtualTopic.getPostfix(); this.local = virtualTopic.isLocal(); this.concurrentSend = virtualTopic.isConcurrentSend(); this.transactedSend = virtualTopic.isTransactedSend(); }
public VirtualTopicInterceptor(Destination next, VirtualTopic virtualTopic) { super(next); this.prefix = virtualTopic.getPrefix(); this.postfix = virtualTopic.getPostfix(); this.local = virtualTopic.isLocal(); this.concurrentSend = virtualTopic.isConcurrentSend(); this.transactedSend = virtualTopic.isTransactedSend(); }
public VirtualTopicInterceptor(Destination next, VirtualTopic virtualTopic) { super(next); this.prefix = virtualTopic.getPrefix(); this.postfix = virtualTopic.getPostfix(); this.local = virtualTopic.isLocal(); this.concurrentSend = virtualTopic.isConcurrentSend(); this.transactedSend = virtualTopic.isTransactedSend(); }
VirtualTopic vt = (VirtualTopic) virtualDestination; String prefix = vt.getPrefix() != null ? vt.getPrefix() : ""; String postfix = vt.getPostfix() != null ? vt.getPostfix() : ""; if (prefix.endsWith(".")) { prefix = prefix.substring(0, prefix.length() - 1);
VirtualTopic vt = (VirtualTopic) virtualDestination; String prefix = vt.getPrefix() != null ? vt.getPrefix() : ""; String postfix = vt.getPostfix() != null ? vt.getPostfix() : ""; if (prefix.endsWith(".")) { prefix = prefix.substring(0, prefix.length() - 1);
VirtualTopic vt = (VirtualTopic) virtualDestination; String prefix = vt.getPrefix() != null ? vt.getPrefix() : ""; String postfix = vt.getPostfix() != null ? vt.getPostfix() : ""; if (prefix.endsWith(".")) { prefix = prefix.substring(0, prefix.length() - 1);