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

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

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

origin: apache/activemq

@Override
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  next.removeProducer(context, info);
}
origin: apache/activemq

/**
 * Removes a Producer.
 *
 * @param context
 *            the environment the operation is being executed under.
 * @throws Exception
 *             TODO
 */
@Override
@SuppressWarnings("unchecked")
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  destinationsLock.readLock().lock();
  try {
    for (Destination dest : (Set<Destination>) destinationMap.unsynchronizedGet(info.getDestination())) {
      dest.removeProducer(context, info);
    }
  } finally {
    destinationsLock.readLock().unlock();
  }
}
origin: org.apache.activemq/activemq-broker

@Override
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  next.removeProducer(context, info);
}
origin: org.apache.activemq/activemq-osgi

@Override
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  next.removeProducer(context, info);
}
origin: org.apache.activemq/activemq-all

@Override
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  next.removeProducer(context, info);
}
origin: pierre/meteo

public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  next.removeProducer(context, info);
}
origin: org.apache.activemq/activemq-all

/**
 * Removes a Producer.
 *
 * @param context
 *            the environment the operation is being executed under.
 * @throws Exception
 *             TODO
 */
@Override
@SuppressWarnings("unchecked")
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  destinationsLock.readLock().lock();
  try {
    for (Destination dest : (Set<Destination>) destinationMap.unsynchronizedGet(info.getDestination())) {
      dest.removeProducer(context, info);
    }
  } finally {
    destinationsLock.readLock().unlock();
  }
}
origin: pierre/meteo

/**
 * Removes a Producer.
 * 
 * @param context
 *            the environment the operation is being executed under.
 * @throws Exception
 *             TODO
 */
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  synchronized (destinationsMutex) {
    for (Iterator iter = destinationMap.get(info.getDestination()).iterator(); iter.hasNext();) {
      Destination dest = (Destination) iter.next();
      dest.removeProducer(context, info);
    }
  }
}
origin: org.apache.activemq/activemq-broker

/**
 * Removes a Producer.
 *
 * @param context
 *            the environment the operation is being executed under.
 * @throws Exception
 *             TODO
 */
@Override
@SuppressWarnings("unchecked")
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  destinationsLock.readLock().lock();
  try {
    for (Destination dest : (Set<Destination>) destinationMap.unsynchronizedGet(info.getDestination())) {
      dest.removeProducer(context, info);
    }
  } finally {
    destinationsLock.readLock().unlock();
  }
}
origin: org.apache.activemq/activemq-osgi

/**
 * Removes a Producer.
 *
 * @param context
 *            the environment the operation is being executed under.
 * @throws Exception
 *             TODO
 */
@Override
@SuppressWarnings("unchecked")
public void removeProducer(ConnectionContext context, ProducerInfo info) throws Exception {
  destinationsLock.readLock().lock();
  try {
    for (Destination dest : (Set<Destination>) destinationMap.unsynchronizedGet(info.getDestination())) {
      dest.removeProducer(context, info);
    }
  } finally {
    destinationsLock.readLock().unlock();
  }
}
org.apache.activemq.broker.regionDestinationremoveProducer

Popular methods of Destination

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

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top Vim plugins
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