Bug 780599 (SOA-3039)

Summary: HttpRouter handles problems inconsistently
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Martin Vecera <mvecera>
Component: JBossESBAssignee: tcunning
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP05 ER2CC: maurizio.antillon
Target Milestone: ---   
Target Release: FUTURE   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3039
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ebws_proxy.tar.bz2 none

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