/** * We should always requeue if the exception is a * {@link MessageRejectedWhileStoppingException}. */ @Test public void testDoRequeueStoppingDefaultNot() throws Exception { testRequeueOrNotDefaultNo(new MessageRejectedWhileStoppingException(), true); }
logger.warn("Rejecting received message because the listener container has been stopped: " + messageIn); throw new MessageRejectedWhileStoppingException();
logger.warn("Rejecting received message because the listener container has been stopped: " + messageIn); throw new MessageRejectedWhileStoppingException();