InVMCourier should throw a courier exception if inactive
--------------------------------------------------------
Key: JBESB-2102
URL:
https://jira.jboss.org/jira/browse/JBESB-2102
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Transports
Affects Versions: 4.4
Reporter: Kevin Conner
Assignee: Kevin Conner
Fix For: 4.4 CP1
The InVMCourier currently returns null for a pickup, false for a delivery, when it is
inactive.
Unfortunately this does not suggest a fault in the pickup case, resulting in the same
courier being invoked shortly afterwards.
In addition to this the courier is logging (at DEBUG) a message to say that it is inactive
along with a stacktrace. This can very quickly swamps the logs.
We need to have the check throw an exception (so that it is consistent in both cases) and
therefore allow any retry/backoff functionality to kick in.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira