[
http://jira.jboss.com/jira/browse/JBESB-678?page=comments#action_12368783 ]
Mark Little commented on JBESB-678:
-----------------------------------
Sure, but if 2 is better than 1, then surely 3 is better than 2 ;-) Basically: why 2 and
not some configurable option?
Remove retry hard-coded magic number
------------------------------------
Key: JBESB-678
URL:
http://jira.jboss.com/jira/browse/JBESB-678
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Transports
Affects Versions: 4.2 Milestone Release 3
Reporter: Mark Little
Assigned To: Kurt Stam
Fix For: 4.2
ServiceInvoker appears to retry deliver twice:
private Message deliver(Message message, boolean synchronous) throws
MessageDeliverException
{
int numberOfAttemps=0;
while (numberOfAttemps++ < 2) {
2 is an arbitrary number. Rather than hard-code it, it should be configurable, at least
via a run-time property.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira