[
http://jira.jboss.com/jira/browse/JBESB-678?page=comments#action_12368787 ]
Kurt Stam commented on JBESB-678:
---------------------------------
Only 2 makes sense. Under normal processing, bad (cached) EPRs are thrown out. However,
the problem with that is that over time you may have no EPRs left. At that point you want
to retry one more time to obtain a fresh set of EPRs from the registry. If things still
fail after that, then we should persist to the messageStore and try for redelivery at a
later time. The number of retries for that and the interval between retries should be
configurable.
Like I said, this is what I'm working on and it will have more comments and make more
sense when that work is complete.
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