Bug 780599 (SOA-3039) - HttpRouter handles problems inconsistently
Summary: HttpRouter handles problems inconsistently
Keywords:
Status: NEW
Alias: SOA-3039
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB
Version: 4.3 CP05 ER2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: tcunning
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-21 08:34 UTC by Martin Vecera
Modified: 2015-09-13 00:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
ebws_proxy.tar.bz2 (11.53 KB, application/bzip2)
2011-04-21 08:35 UTC, Martin Vecera
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 780577 0 urgent CLOSED HttpRouter action does not propagate exceptions 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-3039 0 Major Closed HttpRouter handles problems inconsistently 2015-09-13 00:15:32 UTC

Internal Links: 780577

Description Martin Vecera 2011-04-21 08:34:22 UTC
project_key: SOA

I crossed the issue when verifying SOA-3013. The original customer's requirement was for HttpRouter not to swallow exceptions and propagate them. This is now true in some cases including UnknownHostException (endpointUrl points to an invalid hostname). So this satisfies customer's scenario.
On the other hand, when the host specified in endpointUrl exists and only the rest of the URL is invalid (pointing to non-existing service), no exception is thrown. Just the message returned by a wen server on the host is placed in ESB message payload.
The customer was asking how they could recognize a problem except for examining the return message. In case of UnknownHostException, they receive an exception on the client side. In case of non-existing service, the action pipeline continues to execute following actions which can further modify the response and the client might not realize the issue. Please see the attached quickstart (ant deploy, ant runtest).
I think that these problems should be handle in the same way and an exception should be thrown instead of logging a WARN message.

Comment 1 Martin Vecera 2011-04-21 08:35:26 UTC
Attachment: Added: ebws_proxy.tar.bz2


Comment 2 Martin Vecera 2011-04-21 08:35:50 UTC
Link: Added: This issue is related to SOA-3013



Note You need to log in before you can comment on or make changes to this bug.