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: