We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I add the code in DeadLetterSendReceive.java
@RabbitListener( queues = MQConfig.OUTGOING_QUEUE) public void handleMessage2(ExampleObject exampleObject) throws Exception { throw new AmqpRejectAndDontRequeueException("TEST"); }
@RabbitListener( queues = MQConfig.OUTGOING_QUEUE)
public void handleMessage2(ExampleObject exampleObject) throws Exception { throw new AmqpRejectAndDontRequeueException("TEST"); }
Even it throws an exception, but the following code never be invoked.
@RabbitListener(queues = MQConfig.INCOMING_QUEUE) public void handleMessage(ExampleObject exampleObject) { LOGGER.info("Received incoming object at " + exampleObject.getDate()); }
@RabbitListener(queues = MQConfig.INCOMING_QUEUE)
public void handleMessage(ExampleObject exampleObject) {
LOGGER.info("Received incoming object at " + exampleObject.getDate());
}
Is it a bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I add the code in DeadLetterSendReceive.java
Even it throws an exception, but the following code never be invoked.
Is it a bug?
The text was updated successfully, but these errors were encountered: