You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2020/06/02 04:59:07 UTC
[GitHub] [activemq] zuowenmou opened a new pull request #541: broekr and consumer Configuration Redelivery Policy conflict
zuowenmou opened a new pull request #541:
URL: https://github.com/apache/activemq/pull/541
The operation is as follows:
1.broekr activemq.xml add
<plugins>
<redeliveryPlugin fallbackToDeadLetter="true"
sendToDlqIfMaxRetriesExceeded="true">
<redeliveryPolicyMap>
<redeliveryPolicyMap>
<redeliveryPolicyEntries>
<defaultEntry>
<!-- the fallback policy for all other destinations -->
<redeliveryPolicy maximumRedeliveries="6"
initialRedeliveryDelay="1000"
redeliveryDelay="1000"/>
</defaultEntry>
</redeliveryPolicyMap>
</redeliveryPolicyMap>
</redeliveryPlugin>
</plugins>
2. Consumer clinet set
protected int maximumRedeliveries = 6;
protected long maximumRedeliveryDelay = -1L;
protected long initialRedeliveryDelay = 1000L;
protected boolean useCollisionAvoidance;
protected boolean useExponentialBackOff;
protected double backOffMultiplier = 5.0D;
protected long redeliveryDelay;
3.code demo
@Override
public void execute(CourierPreferencesMessage message) {
log.info("**********message={}",message);
throw new RuntimeException("fail");
}
4.Problem Description
log.info("**********message={}",message);
Log output times:28
Expected : 7
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [activemq] clebertsuconic closed pull request #541: broekr and consumer Configuration Redelivery Policy conflict
Posted by GitBox <gi...@apache.org>.
clebertsuconic closed pull request #541:
URL: https://github.com/apache/activemq/pull/541
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [activemq] jbonofre commented on pull request #541: broekr and consumer Configuration Redelivery Policy conflict
Posted by GitBox <gi...@apache.org>.
jbonofre commented on pull request #541:
URL: https://github.com/apache/activemq/pull/541#issuecomment-731614885
Can you please rebase and fix the conflicts ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [activemq] clebertsuconic commented on pull request #541: broekr and consumer Configuration Redelivery Policy conflict
Posted by GitBox <gi...@apache.org>.
clebertsuconic commented on pull request #541:
URL: https://github.com/apache/activemq/pull/541#issuecomment-663734349
You should rebase. your branch correctly. if this is to be merged it would create a mess with a big/ huge merge commit.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [activemq] jbonofre commented on pull request #541: broekr and consumer Configuration Redelivery Policy conflict
Posted by GitBox <gi...@apache.org>.
jbonofre commented on pull request #541:
URL: https://github.com/apache/activemq/pull/541#issuecomment-731934584
Can you please rebase ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [activemq] jbonofre commented on pull request #541: broekr and consumer Configuration Redelivery Policy conflict
Posted by GitBox <gi...@apache.org>.
jbonofre commented on pull request #541:
URL: https://github.com/apache/activemq/pull/541#issuecomment-731517227
Can you please rebase ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [activemq] clebertsuconic commented on pull request #541: broekr and consumer Configuration Redelivery Policy conflict
Posted by GitBox <gi...@apache.org>.
clebertsuconic commented on pull request #541:
URL: https://github.com/apache/activemq/pull/541#issuecomment-737486431
it seems to me that you sent the PR to a wrong branch.
Please do the PR again.. I would start over by branching the right branch.. and then cherry-picking the commit you intended to send.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org