Bug 965037
Summary: | Provider Callback is never called after a call of BPEL process | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Ivo Bek <ibek> | ||||||||
Component: | SwitchYard | Assignee: | Keith Babo <kbabo> | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | Jiri Sedlacek <jsedlace> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 6.0.0 | CC: | kconner, oskutka, soa-p-jira | ||||||||
Target Milestone: | DR5 | ||||||||||
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: | 2013-08-22 17:24:18 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 878082 | ||||||||||
Attachments: |
|
I need a bit more detail on how to reproduce this. I took the app attached to this email and ran the tests and the auditor is called before and after the provider based on the output of the test. Where's the issue and how do I reproduce it? Hi Keith, I'm sorry I wanted to create a simpler reproducer, but it seems this one works and the after method is actually called. So, I'm going to attach 2 another services, which call just the before method of the auditor. To be sure, I tried it again with these services, loan_approval1_08, and loan_approval2_08. How to reproduce: 1) unzip the 2 archives into quickstarts/bpel-service 2) build them 3) first, deploy the loan_approval2_08 4) second, deploy the loan_approval1_08 5) to http://localhost:8080/loanService/loanService send SOA-P message, containing: <loan:firstName>Fred</loan:firstName> <loan:name>Bloggs</loan:name> <loan:amount>1000</loan:amount> Created attachment 763313 [details]
loan_approval1_08
Created attachment 763314 [details]
loan_approval2_08
In the console you should see just following output: 10:07:25,479 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "switchyard-quickstart-bpel-service-loan-approval.jar" (runtime-name : "switchyard-quickstart-bpel-service-loan-approval.jar") 10:08:40,899 INFO [stdout] (http-/127.0.0.1:8080-1) before 10:08:40,918 INFO [org.apache.ode.utils.WatchDog] (http-/127.0.0.1:8080-1) [Endpoint files for {DeploymentUnit switchyard-quickstart-bpel-service-loan-approval_loan_approval-0}] updated 10:08:41,053 INFO [stdout] (ODEServer-1) before nothing more ExchangeInterceptor should be used for this purpose. |
Created attachment 750502 [details] riskAssessor with ErrorHandler as a auditor Description of problem: When I have any auditor (with or without @Audit({Processors.PROVIDER_CALLBACK})), the afterCall method is never called for provider callback. I tried that on a BEAN component and there the afterCall method is called, so it probably doesn't work just on a BPEL component. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: