Bug 975418

Summary: SwitchYardServiceInvoker hides invocation errors for one-way services
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Jiri Pechanec <jpechane>
Component: SwitchYardAssignee: David Ward <dward>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Pechanec <jpechane>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, kbabo, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:26:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Pechanec 2013-06-18 12:39:02 UTC
DR5
In SwitchYardServiceInvoker method invoke()

If exception is thrown for e.g. missing reference and service is invoked in one-way scenario like from SwitchYardServiceChannel.send() then the information about error is lost and not logged anywhere.

Comment 1 Keith Babo 2013-06-18 12:49:05 UTC
This should not be the case in Alpha2 as the error logging and visibility was increased for one-way MEPs in SY 1.0.

Comment 2 Jiri Pechanec 2013-09-19 11:30:18 UTC
The issue is stll present - there should be a logging statement

Comment 3 Keith Babo 2013-09-19 11:34:00 UTC
Sorry, that's my fault.  For some reason, I thought this bug was about RemoteInvoker, not SwitchYardServiceInvoker.  Not sure how I messed that up.  My original comment regarding faults on one-way exchanges being logged by the bus is still true, but in this case it's not even making it to the bus.  I will have a look.

Comment 7 JBoss JIRA Server 2013-11-09 02:54:34 UTC
David Ward <dward> made a comment on jira SWITCHYARD-1826

https://github.com/jboss-switchyard/components/pull/622

This was only really an issue for SwitchYardServiceChannels, as the only other user of the SwitchYardServiceInvoker is the SwitchYardServiceTaskHandler, and that already does fault logging.  So now they both do, using the same fault message formatting.

Comment 8 JBoss JIRA Server 2013-11-12 01:36:07 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1826

pushed

Comment 9 Jiri Pechanec 2013-12-18 09:33:29 UTC
Verified in ER7

Comment 10 JBoss JIRA Server 2014-06-16 23:53:23 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1826 to Closed