Codota Logo
MessageRejectedWhileStoppingException
Code IndexAdd Codota to your IDE (free)

How to use
MessageRejectedWhileStoppingException
in
org.springframework.amqp.rabbit.listener

Best Java code snippets using org.springframework.amqp.rabbit.listener.MessageRejectedWhileStoppingException (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: spring-projects/spring-amqp

/**
 * We should always requeue if the exception is a
 * {@link MessageRejectedWhileStoppingException}.
 */
@Test
public void testDoRequeueStoppingDefaultNot() throws Exception {
  testRequeueOrNotDefaultNo(new MessageRejectedWhileStoppingException(), true);
}
origin: spring-projects/spring-amqp

  logger.warn("Rejecting received message because the listener container has been stopped: " + messageIn);
throw new MessageRejectedWhileStoppingException();
origin: org.springframework.amqp/spring-rabbit

  logger.warn("Rejecting received message because the listener container has been stopped: " + messageIn);
throw new MessageRejectedWhileStoppingException();
org.springframework.amqp.rabbit.listenerMessageRejectedWhileStoppingException

Javadoc

Exception class that indicates a rejected message on shutdown. Used to trigger a rollback for an external transaction manager in that case.

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • String (java.lang)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • JFrame (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now