Tabnine Logo
Broker.preProcessDispatch
Code IndexAdd Tabnine to your IDE (free)

How to use
preProcessDispatch
method
in
org.apache.activemq.broker.Broker

Best Java code snippets using org.apache.activemq.broker.Broker.preProcessDispatch (Showing top 11 results out of 315)

origin: apache/activemq

@Override
public void preProcessDispatch(MessageDispatch messageDispatch) {
  getNext().preProcessDispatch(messageDispatch);
}
origin: apache/activemq

if (messageDispatch != null) {
  try {
    broker.preProcessDispatch(messageDispatch);
  } catch (RuntimeException convertToIO) {
    throw new IOException(convertToIO);
origin: pierre/meteo

public void preProcessDispatch(MessageDispatch messageDispatch) {
  next.preProcessDispatch(messageDispatch);
}
origin: org.apache.activemq/activemq-all

@Override
public void preProcessDispatch(MessageDispatch messageDispatch) {
  getNext().preProcessDispatch(messageDispatch);
}
origin: org.apache.activemq/activemq-broker

@Override
public void preProcessDispatch(MessageDispatch messageDispatch) {
  getNext().preProcessDispatch(messageDispatch);
}
origin: org.apache.activemq/activemq-osgi

@Override
public void preProcessDispatch(MessageDispatch messageDispatch) {
  getNext().preProcessDispatch(messageDispatch);
}
origin: pierre/meteo

public void preProcessDispatch(MessageDispatch messageDispatch) {
  getNext().preProcessDispatch(messageDispatch);
}
origin: pierre/meteo

protected void processDispatch(Command command) throws IOException {
  final MessageDispatch messageDispatch = (MessageDispatch) (command.isMessageDispatch() ? command : null);
  try {
    if (!stopping.get()) {
      if (messageDispatch != null) {
        broker.preProcessDispatch(messageDispatch);
      }
      dispatch(command);
    }
  } finally {
    if (messageDispatch != null) {
      Runnable sub = messageDispatch.getTransmitCallback();
      broker.postProcessDispatch(messageDispatch);
      if (sub != null) {
        sub.run();
      }
    }
    // getStatistics().getDequeues().increment();
  }
}
origin: org.apache.activemq/activemq-all

if (messageDispatch != null) {
  try {
    broker.preProcessDispatch(messageDispatch);
  } catch (RuntimeException convertToIO) {
    throw new IOException(convertToIO);
origin: org.apache.activemq/activemq-osgi

if (messageDispatch != null) {
  try {
    broker.preProcessDispatch(messageDispatch);
  } catch (RuntimeException convertToIO) {
    throw new IOException(convertToIO);
origin: org.apache.activemq/activemq-broker

if (messageDispatch != null) {
  try {
    broker.preProcessDispatch(messageDispatch);
  } catch (RuntimeException convertToIO) {
    throw new IOException(convertToIO);
org.apache.activemq.brokerBrokerpreProcessDispatch

Javadoc

Notify the Broker that a dispatch is going to happen

Popular methods of Broker

  • getAdaptor
    Get a Broker from the Broker Stack that is a particular class
  • getDestinationMap
    return a reference destination map of a region based on the destination type
  • removeDestination
  • commitTransaction
    Commits a transaction.
  • forgetTransaction
    Forgets a transaction.
  • getBrokerService
  • getClients
  • getDestinations
  • getPreparedTransactions
    Gets a list of all the prepared xa transactions.
  • getVmConnectorURI
  • removeConsumer
  • acknowledge
  • removeConsumer,
  • acknowledge,
  • addBroker,
  • addConnection,
  • addConsumer,
  • addDestination,
  • addDestinationInfo,
  • addProducer,
  • addSession,
  • beginTransaction

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • CodeWhisperer alternatives
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