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

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

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

origin: apache/activemq

/**
 * Called when a message is discarded - e.g. running low on memory This will
 * happen only if the policy is enabled - e.g. non durable topics
 *
 * @param context
 * @param messageReference
 */
@Override
public void messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference) {
  if (advisoryForDiscardingMessages) {
    broker.messageDiscarded(context, sub, messageReference);
  }
}
origin: apache/activemq

@Override
public void messageDiscarded(ConnectionContext context,Subscription sub, MessageReference messageReference) {
  getNext().messageDiscarded(context, sub, messageReference);
}
origin: org.apache.activemq/activemq-broker

/**
 * Called when a message is discarded - e.g. running low on memory This will
 * happen only if the policy is enabled - e.g. non durable topics
 *
 * @param context
 * @param messageReference
 */
@Override
public void messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference) {
  if (advisoryForDiscardingMessages) {
    broker.messageDiscarded(context, sub, messageReference);
  }
}
origin: pierre/meteo

/**
 * Called when a message is discarded - e.g. running low on memory This will
 * happen only if the policy is enabled - e.g. non durable topics
 * 
 * @param context
 * @param messageReference
 */
public void messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference) {
  if (advisoryForDiscardingMessages) {
    broker.messageDiscarded(context, sub, messageReference);
  }
}
origin: org.apache.activemq/activemq-all

/**
 * Called when a message is discarded - e.g. running low on memory This will
 * happen only if the policy is enabled - e.g. non durable topics
 *
 * @param context
 * @param messageReference
 */
@Override
public void messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference) {
  if (advisoryForDiscardingMessages) {
    broker.messageDiscarded(context, sub, messageReference);
  }
}
origin: org.apache.activemq/activemq-osgi

/**
 * Called when a message is discarded - e.g. running low on memory This will
 * happen only if the policy is enabled - e.g. non durable topics
 *
 * @param context
 * @param messageReference
 */
@Override
public void messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference) {
  if (advisoryForDiscardingMessages) {
    broker.messageDiscarded(context, sub, messageReference);
  }
}
origin: pierre/meteo

public void messageDiscarded(ConnectionContext context,Subscription sub, MessageReference messageReference) {
  next.messageDiscarded(context, sub, messageReference);
}
origin: org.apache.activemq/activemq-broker

@Override
public void messageDiscarded(ConnectionContext context,Subscription sub, MessageReference messageReference) {
  getNext().messageDiscarded(context, sub, messageReference);
}
origin: org.apache.activemq/activemq-all

@Override
public void messageDiscarded(ConnectionContext context,Subscription sub, MessageReference messageReference) {
  getNext().messageDiscarded(context, sub, messageReference);
}
origin: org.apache.activemq/activemq-osgi

@Override
public void messageDiscarded(ConnectionContext context,Subscription sub, MessageReference messageReference) {
  getNext().messageDiscarded(context, sub, messageReference);
}
origin: pierre/meteo

public void messageDiscarded(ConnectionContext context, Subscription sub, MessageReference messageReference) {
  getNext().messageDiscarded(context, sub, messageReference);
}
org.apache.activemq.brokerBrokermessageDiscarded

Javadoc

Called when a message is discarded - e.g. running low on memory This will happen only if the policy is enabled - e.g. non durable topics

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

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • getApplicationContext (Context)
  • 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
  • Top Sublime Text 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