@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override protected void configureMetadata() { if (brokerService != null) { metadata.openwireVersion = brokerService.getStoreOpenWireVersion(); wireFormat.setVersion(metadata.openwireVersion); if (LOG.isDebugEnabled()) { LOG.debug("Store OpenWire version configured as: {}", metadata.openwireVersion); } } }
@Override public void load() throws IOException { if( brokerService!=null ) { wireFormat.setVersion(brokerService.getStoreOpenWireVersion()); } super.load(); } @Override
@Override public void doStart() throws Exception { if( brokerService!=null ) { wireFormat.setVersion(brokerService.getStoreOpenWireVersion()); } // Cleanup the db periodically. if (cleanupPeriod > 0) { cleanupTicket = getScheduledThreadPoolExecutor().scheduleWithFixedDelay(new Runnable() { @Override public void run() { cleanup(); } }, 0, cleanupPeriod, TimeUnit.MILLISECONDS); } createMessageAudit(); }
@Override public void start() throws Exception { if (started.compareAndSet(false, true)) { if( this.broker != null) { wireFormat.setVersion(this.broker.getBrokerService().getStoreOpenWireVersion()); } super.start(); if (systemUsage != null) { systemUsage.getMemoryUsage().addUsageListener(this); } } }
if (metadata.openwireVersion != brokerService.getStoreOpenWireVersion()) { LOG.warn("Existing Store uses a different OpenWire version[{}] " + "than the version configured[{}] reverting to the version " + "used by this store, some newer broker features may not work" + "as expected.", metadata.openwireVersion, brokerService.getStoreOpenWireVersion());
wireFormat.setVersion(brokerService.getStoreOpenWireVersion());
this.systemUsage = brokerService.getSystemUsage(); wireFormat.setVersion(brokerService.getStoreOpenWireVersion());
@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override public boolean isPersistNoLocal() { // Prior to v11 the broker did not store the noLocal value for durable subs. return brokerService.getStoreOpenWireVersion() >= 11; } }
@Override protected void configureMetadata() { if (brokerService != null) { metadata.openwireVersion = brokerService.getStoreOpenWireVersion(); wireFormat.setVersion(metadata.openwireVersion); if (LOG.isDebugEnabled()) { LOG.debug("Store OpenWire version configured as: {}", metadata.openwireVersion); } } }
@Override protected void configureMetadata() { if (brokerService != null) { metadata.openwireVersion = brokerService.getStoreOpenWireVersion(); wireFormat.setVersion(metadata.openwireVersion); if (LOG.isDebugEnabled()) { LOG.debug("Store OpenWire version configured as: {}", metadata.openwireVersion); } } }
@Override public void load() throws IOException { if( brokerService!=null ) { wireFormat.setVersion(brokerService.getStoreOpenWireVersion()); } super.load(); } @Override
@Override public void start() throws Exception { if (started.compareAndSet(false, true)) { if( this.broker != null) { wireFormat.setVersion(this.broker.getBrokerService().getStoreOpenWireVersion()); } super.start(); if (systemUsage != null) { systemUsage.getMemoryUsage().addUsageListener(this); } } }
@Override public void start() throws Exception { if (started.compareAndSet(false, true)) { if( this.broker != null) { wireFormat.setVersion(this.broker.getBrokerService().getStoreOpenWireVersion()); } super.start(); if (systemUsage != null) { systemUsage.getMemoryUsage().addUsageListener(this); } } }
@Override public void start() throws Exception { if (started.compareAndSet(false, true)) { if( this.broker != null) { wireFormat.setVersion(this.broker.getBrokerService().getStoreOpenWireVersion()); } super.start(); if (systemUsage != null) { systemUsage.getMemoryUsage().addUsageListener(this); } } }