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

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

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

origin: apache/activemq

@Override
public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception {
  next.processDispatchNotification(messageDispatchNotification);
}
origin: apache/activemq

protected void processDispatchNotificationViaDestination(MessageDispatchNotification messageDispatchNotification)
    throws Exception {
  Destination dest = null;
  destinationsLock.readLock().lock();
  try {
    dest = destinations.get(messageDispatchNotification.getDestination());
  } finally {
    destinationsLock.readLock().unlock();
  }
  if (dest != null) {
    dest.processDispatchNotification(messageDispatchNotification);
  } else {
    throw new JMSException("Slave broker out of sync with master - Destination: "
        + messageDispatchNotification.getDestination() + " does not exist for consumer "
        + messageDispatchNotification.getConsumerId() + " with message: "
        + messageDispatchNotification.getMessageId());
  }
}
origin: org.apache.activemq/activemq-osgi

@Override
public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception {
  next.processDispatchNotification(messageDispatchNotification);
}
origin: org.apache.activemq/activemq-all

@Override
public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception {
  next.processDispatchNotification(messageDispatchNotification);
}
origin: org.apache.activemq/activemq-broker

@Override
public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception {
  next.processDispatchNotification(messageDispatchNotification);
}
origin: pierre/meteo

public void processDispatchNotification(MessageDispatchNotification messageDispatchNotification) throws Exception {
  next.processDispatchNotification(messageDispatchNotification);
}
origin: org.apache.activemq/activemq-broker

protected void processDispatchNotificationViaDestination(MessageDispatchNotification messageDispatchNotification)
    throws Exception {
  Destination dest = null;
  destinationsLock.readLock().lock();
  try {
    dest = destinations.get(messageDispatchNotification.getDestination());
  } finally {
    destinationsLock.readLock().unlock();
  }
  if (dest != null) {
    dest.processDispatchNotification(messageDispatchNotification);
  } else {
    throw new JMSException("Slave broker out of sync with master - Destination: "
        + messageDispatchNotification.getDestination() + " does not exist for consumer "
        + messageDispatchNotification.getConsumerId() + " with message: "
        + messageDispatchNotification.getMessageId());
  }
}
origin: org.apache.activemq/activemq-all

protected void processDispatchNotificationViaDestination(MessageDispatchNotification messageDispatchNotification)
    throws Exception {
  Destination dest = null;
  destinationsLock.readLock().lock();
  try {
    dest = destinations.get(messageDispatchNotification.getDestination());
  } finally {
    destinationsLock.readLock().unlock();
  }
  if (dest != null) {
    dest.processDispatchNotification(messageDispatchNotification);
  } else {
    throw new JMSException("Slave broker out of sync with master - Destination: "
        + messageDispatchNotification.getDestination() + " does not exist for consumer "
        + messageDispatchNotification.getConsumerId() + " with message: "
        + messageDispatchNotification.getMessageId());
  }
}
origin: org.apache.activemq/activemq-osgi

protected void processDispatchNotificationViaDestination(MessageDispatchNotification messageDispatchNotification)
    throws Exception {
  Destination dest = null;
  destinationsLock.readLock().lock();
  try {
    dest = destinations.get(messageDispatchNotification.getDestination());
  } finally {
    destinationsLock.readLock().unlock();
  }
  if (dest != null) {
    dest.processDispatchNotification(messageDispatchNotification);
  } else {
    throw new JMSException("Slave broker out of sync with master - Destination: "
        + messageDispatchNotification.getDestination() + " does not exist for consumer "
        + messageDispatchNotification.getConsumerId() + " with message: "
        + messageDispatchNotification.getMessageId());
  }
}
origin: pierre/meteo

protected void processDispatchNotificationViaDestination(MessageDispatchNotification messageDispatchNotification)
    throws Exception {
  Destination dest = null;
  synchronized (destinationsMutex) {
    dest = destinations.get(messageDispatchNotification.getDestination());
  }
  if (dest != null) {
    dest.processDispatchNotification(messageDispatchNotification);
  } else {
    throw new JMSException("Slave broker out of sync with master - Destination: "
        + messageDispatchNotification.getDestination() + " does not exist for consumer "
        + messageDispatchNotification.getConsumerId() + " with message: "
        + messageDispatchNotification.getMessageId());
  }
}
org.apache.activemq.broker.regionDestinationprocessDispatchNotification

Javadoc

called on Queues in slave mode to allow dispatch to follow subscription choice of master

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

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Best IntelliJ 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