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

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

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

origin: apache/activemq

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

@Override
public void dispatchAsync(Command message) {
  if (!stopping.get()) {
    if (taskRunner == null) {
      dispatchSync(message);
    } else {
      synchronized (dispatchQueue) {
        dispatchQueue.add(message);
      }
      try {
        taskRunner.wakeup();
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
    }
  } else {
    if (message.isMessageDispatch()) {
      MessageDispatch md = (MessageDispatch) message;
      TransmitCallback sub = md.getTransmitCallback();
      broker.postProcessDispatch(md);
      if (sub != null) {
        sub.onFailure();
      }
    }
  }
}
origin: apache/activemq

if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onFailure();
if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onSuccess();
origin: apache/activemq

MessageDispatch md = (MessageDispatch) command;
TransmitCallback sub = md.getTransmitCallback();
broker.postProcessDispatch(md);
if (sub != null) {
  sub.onFailure();
origin: pierre/meteo

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

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

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

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

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

public void dispatchAsync(Command message) {
  if (!stopping.get()) {
    // getStatistics().getEnqueues().increment();
    if (taskRunner == null) {
      dispatchSync(message);
    } else {
      synchronized (dispatchQueue) {
        dispatchQueue.add(message);
      }
      try {
        taskRunner.wakeup();
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
    }
  } else {
    if (message.isMessageDispatch()) {
      MessageDispatch md = (MessageDispatch) message;
      Runnable sub = md.getTransmitCallback();
      broker.postProcessDispatch(md);
      if (sub != null) {
        sub.run();
      }
    }
  }
}
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

@Override
public void dispatchAsync(Command message) {
  if (!stopping.get()) {
    if (taskRunner == null) {
      dispatchSync(message);
    } else {
      synchronized (dispatchQueue) {
        dispatchQueue.add(message);
      }
      try {
        taskRunner.wakeup();
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
    }
  } else {
    if (message.isMessageDispatch()) {
      MessageDispatch md = (MessageDispatch) message;
      TransmitCallback sub = md.getTransmitCallback();
      broker.postProcessDispatch(md);
      if (sub != null) {
        sub.onFailure();
      }
    }
  }
}
origin: org.apache.activemq/activemq-osgi

@Override
public void dispatchAsync(Command message) {
  if (!stopping.get()) {
    if (taskRunner == null) {
      dispatchSync(message);
    } else {
      synchronized (dispatchQueue) {
        dispatchQueue.add(message);
      }
      try {
        taskRunner.wakeup();
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
    }
  } else {
    if (message.isMessageDispatch()) {
      MessageDispatch md = (MessageDispatch) message;
      TransmitCallback sub = md.getTransmitCallback();
      broker.postProcessDispatch(md);
      if (sub != null) {
        sub.onFailure();
      }
    }
  }
}
origin: org.apache.activemq/activemq-broker

@Override
public void dispatchAsync(Command message) {
  if (!stopping.get()) {
    if (taskRunner == null) {
      dispatchSync(message);
    } else {
      synchronized (dispatchQueue) {
        dispatchQueue.add(message);
      }
      try {
        taskRunner.wakeup();
      } catch (InterruptedException e) {
        Thread.currentThread().interrupt();
      }
    }
  } else {
    if (message.isMessageDispatch()) {
      MessageDispatch md = (MessageDispatch) message;
      TransmitCallback sub = md.getTransmitCallback();
      broker.postProcessDispatch(md);
      if (sub != null) {
        sub.onFailure();
      }
    }
  }
}
origin: org.apache.activemq/activemq-all

if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onFailure();
if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onSuccess();
origin: org.apache.activemq/activemq-osgi

if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onFailure();
if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onSuccess();
origin: org.apache.activemq/activemq-broker

if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onFailure();
if (messageDispatch != null) {
  TransmitCallback sub = messageDispatch.getTransmitCallback();
  broker.postProcessDispatch(messageDispatch);
  if (sub != null) {
    sub.onSuccess();
origin: org.apache.activemq/activemq-broker

MessageDispatch md = (MessageDispatch) command;
TransmitCallback sub = md.getTransmitCallback();
broker.postProcessDispatch(md);
if (sub != null) {
  sub.onFailure();
origin: org.apache.activemq/activemq-osgi

MessageDispatch md = (MessageDispatch) command;
TransmitCallback sub = md.getTransmitCallback();
broker.postProcessDispatch(md);
if (sub != null) {
  sub.onFailure();
origin: org.apache.activemq/activemq-all

MessageDispatch md = (MessageDispatch) command;
TransmitCallback sub = md.getTransmitCallback();
broker.postProcessDispatch(md);
if (sub != null) {
  sub.onFailure();
org.apache.activemq.brokerBrokerpostProcessDispatch

Javadoc

Notify the Broker that a dispatch has happened

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

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JFrame (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
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