Tabnine Logo
Destination.dispose
Code IndexAdd Tabnine to your IDE (free)

How to use
dispose
method
in
org.apache.activemq.broker.region.Destination

Best Java code snippets using org.apache.activemq.broker.region.Destination.dispose (Showing top 20 results out of 315)

origin: apache/activemq

@Override
public void dispose(ConnectionContext context) throws IOException {
  next.dispose(context);
}
origin: apache/activemq

private void doDispose(Destination dest) {
  ConnectionContext context = new ConnectionContext();
  try {
    dest.dispose(context);
    dest.stop();
  } catch (Exception e) {
    LOG.warn("Failed to dispose of {}", dest, e);
  }
}
origin: apache/activemq

protected void dispose(ConnectionContext context, Destination dest) throws Exception {
  dest.dispose(context);
  dest.stop();
  destinationFactory.removeDestination(dest);
}
origin: apache/activemq

protected final synchronized void dispose(ConnectionContext context,
    Destination dest) throws Exception {
  // add to cache
  if (this.doCacheTempDestinations) {
    cachedDestinations.put(new CachedDestination(dest
        .getActiveMQDestination()), dest);
  }else {
    try {
      dest.dispose(context);
      dest.stop();
    } catch (Exception e) {
      LOG.warn("Failed to dispose of {}", dest, e);
    }
  }
}
origin: org.apache.activemq/activemq-broker

@Override
public void dispose(ConnectionContext context) throws IOException {
  next.dispose(context);
}
origin: org.apache.activemq/activemq-osgi

@Override
public void dispose(ConnectionContext context) throws IOException {
  next.dispose(context);
}
origin: org.apache.activemq/activemq-all

@Override
public void dispose(ConnectionContext context) throws IOException {
  next.dispose(context);
}
origin: pierre/meteo

public void dispose(ConnectionContext context) throws IOException {
  next.dispose(context);
}
origin: org.apache.activemq/activemq-broker

private void doDispose(Destination dest) {
  ConnectionContext context = new ConnectionContext();
  try {
    dest.dispose(context);
    dest.stop();
  } catch (Exception e) {
    LOG.warn("Failed to dispose of {}", dest, e);
  }
}
origin: org.apache.activemq/activemq-all

private void doDispose(Destination dest) {
  ConnectionContext context = new ConnectionContext();
  try {
    dest.dispose(context);
    dest.stop();
  } catch (Exception e) {
    LOG.warn("Failed to dispose of {}", dest, e);
  }
}
origin: org.apache.activemq/activemq-broker

protected void dispose(ConnectionContext context, Destination dest) throws Exception {
  dest.dispose(context);
  dest.stop();
  destinationFactory.removeDestination(dest);
}
origin: pierre/meteo

private void doDispose(Destination dest) {
  ConnectionContext context = new ConnectionContext();
  try {
    dest.dispose(context);
    dest.stop();
  } catch (Exception e) {
    LOG.warn("Failed to dispose of " + dest, e);
  }
}
origin: org.apache.activemq/activemq-osgi

private void doDispose(Destination dest) {
  ConnectionContext context = new ConnectionContext();
  try {
    dest.dispose(context);
    dest.stop();
  } catch (Exception e) {
    LOG.warn("Failed to dispose of {}", dest, e);
  }
}
origin: pierre/meteo

protected void dispose(ConnectionContext context, Destination dest) throws Exception {
  dest.dispose(context);
  dest.stop();
  destinationFactory.removeDestination(dest);
}
origin: org.apache.activemq/activemq-osgi

protected void dispose(ConnectionContext context, Destination dest) throws Exception {
  dest.dispose(context);
  dest.stop();
  destinationFactory.removeDestination(dest);
}
origin: org.apache.activemq/activemq-all

protected void dispose(ConnectionContext context, Destination dest) throws Exception {
  dest.dispose(context);
  dest.stop();
  destinationFactory.removeDestination(dest);
}
origin: org.apache.activemq/activemq-broker

protected final synchronized void dispose(ConnectionContext context,
    Destination dest) throws Exception {
  // add to cache
  if (this.doCacheTempDestinations) {
    cachedDestinations.put(new CachedDestination(dest
        .getActiveMQDestination()), dest);
  }else {
    try {
      dest.dispose(context);
      dest.stop();
    } catch (Exception e) {
      LOG.warn("Failed to dispose of {}", dest, e);
    }
  }
}
origin: org.apache.activemq/activemq-osgi

protected final synchronized void dispose(ConnectionContext context,
    Destination dest) throws Exception {
  // add to cache
  if (this.doCacheTempDestinations) {
    cachedDestinations.put(new CachedDestination(dest
        .getActiveMQDestination()), dest);
  }else {
    try {
      dest.dispose(context);
      dest.stop();
    } catch (Exception e) {
      LOG.warn("Failed to dispose of {}", dest, e);
    }
  }
}
origin: org.apache.activemq/activemq-all

protected final synchronized void dispose(ConnectionContext context,
    Destination dest) throws Exception {
  // add to cache
  if (this.doCacheTempDestinations) {
    cachedDestinations.put(new CachedDestination(dest
        .getActiveMQDestination()), dest);
  }else {
    try {
      dest.dispose(context);
      dest.stop();
    } catch (Exception e) {
      LOG.warn("Failed to dispose of {}", dest, e);
    }
  }
}
origin: pierre/meteo

protected final synchronized void dispose(ConnectionContext context,
    Destination dest) throws Exception {
  // add to cache
  if (this.doCacheTempDestinations) {
    cachedDestinations.put(new CachedDestination(dest
        .getActiveMQDestination()), dest);
  }else {
    try {
      dest.dispose(context);
      dest.stop();
    } catch (Exception e) {
      LOG.warn("Failed to dispose of " + dest, e);
    }
  }
}
org.apache.activemq.broker.regionDestinationdispose

Popular methods of Destination

  • getConsumers
  • getDestinationStatistics
  • getName
  • getActiveMQDestination
  • browse
  • removeSubscription
  • acknowledge
  • addProducer
  • addSubscription
  • fastProducer
    Called to notify a producer is too fast
  • gc
  • getBlockedProducerWarningInterval
  • gc,
  • getBlockedProducerWarningInterval,
  • getCursorMemoryHighWaterMark,
  • getDeadLetterStrategy,
  • getMaxAuditDepth,
  • getMaxBrowsePageSize,
  • getMaxPageSize,
  • getMaxProducersToAudit,
  • getMemoryUsage

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • getSystemService (Context)
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now