Tabnine Logo
DirectMessageListenerContainer.removeQueues
Code IndexAdd Tabnine to your IDE (free)

How to use
removeQueues
method
in
org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer

Best Java code snippets using org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer.removeQueues (Showing top 5 results out of 315)

origin: spring-projects/spring-amqp

@Override
public boolean removeQueues(Queue... queues) {
  removeQueues(Arrays.stream(queues).map(Queue::getActualName));
  return super.removeQueues(queues);
}
origin: spring-projects/spring-amqp

@Override
public boolean removeQueueNames(String... queueNames) {
  removeQueues(Arrays.stream(queueNames));
  return super.removeQueueNames(queueNames);
}
origin: org.springframework.amqp/spring-rabbit

@Override
public boolean removeQueues(Queue... queues) {
  removeQueues(Arrays.stream(queues).map(Queue::getActualName));
  return super.removeQueues(queues);
}
origin: org.springframework.amqp/spring-rabbit

@Override
public boolean removeQueueNames(String... queueNames) {
  removeQueues(Arrays.stream(queueNames));
  return super.removeQueueNames(queueNames);
}
origin: spring-projects/spring-amqp

assertEquals("FOO", template.convertSendAndReceive(Q1, "foo"));
assertEquals("BAR", template.convertSendAndReceive(Q2, "bar"));
container.removeQueues(new Queue(Q1), new Queue(Q2), new Queue("junk"));
assertTrue(consumersOnQueue(Q1, 0));
assertTrue(consumersOnQueue(Q2, 0));
org.springframework.amqp.rabbit.listenerDirectMessageListenerContainerremoveQueues

Popular methods of DirectMessageListenerContainer

  • <init>
    Create an instance with the provided connection factory.
  • setConsumersPerQueue
    Each queue runs in its own consumer; set this property to create multiple consumers for each queue.
  • setAckTimeout
    An approximate timeout; when #setMessagesPerAck(int) is greater than 1, and this time elapses since
  • setMessagesPerAck
    Set the number of messages to receive before acknowledging (success). A failed message will short-ci
  • addQueues
  • afterPropertiesSet
  • getAcknowledgeMode
  • getConnectionFactory
  • getQueueNames
  • isActive
  • isRunning
  • setIdleEventInterval
  • isRunning,
  • setIdleEventInterval,
  • setMessageListener,
  • setMissingQueuesFatal,
  • setMonitorInterval,
  • setPrefetchCount,
  • setQueueNames,
  • actualShutDown,
  • actualStart

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • String (java.lang)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top plugins for Android Studio
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