[
http://jira.jboss.com/jira/browse/JBESB-678?page=comments#action_12368792 ]
Kurt Stam commented on JBESB-678:
---------------------------------
I will rename the parameter and not call it "retryTattempt",because that is not
what it is. It is just a way be able to cache information from the Registry, without
getting into trouble.
Message Redelivery will be configurable.
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