Issue Details (XML | Word | Printable)

Key: MULE-3345
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Andreas Guenther
Reporter: Andreas Guenther
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Mule

TransactionTemplate swallows exceptions and returns null instead

Created: 15/May/08 09:55 PM   Updated: 15/May/08 11:51 PM
Component/s: Core: Exception Handling
Affects Version/s: 2.0.2
Fix Version/s: 2.0.2

Time Tracking:
Not Specified

Issue Links:
Related
 

Labels:
User impact: High


 Description  « Hide
When messages are send or dispatched based on recent changes in MULE-3318 and e.g. routing exceptions occur, they are swallowed in TransactionTemplate.execute() return code and a null value is returned instead. Before MULE-3318 these exceptions were handled by subsequent code instead. This now leads to misinterpretation when some routers, e.g. EndpointSelector throws an exception and ExceptionBasedRouter receives a null value instead of the expected exception during its send. An immediate fallout can be seen in current failures of concrete implementations of AbstractXmlPropertyExtractorTestCase.

 All   Comments   Work Log   Change History   Transitions   FishEye      Sort Order: Ascending order - Click to sort in descending order
Andreas Guenther added a comment - 15/May/08 09:58 PM
Currently leads to build failure in above mentioned AbstractXmlPropertyExtractorTestCase implementations.

Andreas Guenther added a comment - 15/May/08 10:14 PM
Although I noticed that an ExceptionListener is configured from the respective connector I didn't see any reason why to not to further propagate the exception if any occurs.

http://fisheye.codehaus.org/changelog/mule/?cs=11779

I'll leave this issue open until the next build results in case the above implementation requires more work.


Andreas Guenther added a comment - 15/May/08 11:51 PM