[esb-issues] [JBoss JIRA] Commented: (JBESB-1458) OneWay services should not generate fault messages if no FaultTo is defined

Kevin Conner (JIRA) jira-events at lists.jboss.org
Fri Jan 18 08:07:21 EST 2008


    [ http://jira.jboss.com/jira/browse/JBESB-1458?page=comments#action_12395624 ] 
            
Kevin Conner commented on JBESB-1458:
-------------------------------------

The analysis above is only correct up to stage 6, the real issue is a deadly embrace between two faulting services

The sequence of events is as follows

1) we have sent message form jBPM to ESB
2) The message is processed
3) Reponse is sent to jBPM callback service
4) Callback command is executed and exception is thrown in jBPM code
5) This exception is handled by pipeline processor
6) The pipline process will send message fault message
*** CHANGES HERE ***
7) The fault is received by the original ESB service targetted in 1)
8) Original service is not expecting the fault message but attempts to process it
9) This processing leads to a NPE
10) This pipeline creates a fault message and sends it back to the jBPM callback service
11) Go back to 4)
  
As the callback service is receiving a response from the ESB service it should not send a fault messages in response.  The original ESB service has not specified a FaultTo address nor is it expecting to handle one as it has already processed the original jBPM request.

This problem is shared with all one way services in that they should not be sending any fault message if no FaultTo target has been defined.

This also reflects one of the major differences between WS-A 2004 and WS-A 2005.

> OneWay services should not generate fault messages if no FaultTo is defined
> ---------------------------------------------------------------------------
>
>                 Key: JBESB-1458
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1458
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Process flow
>    Affects Versions: 4.2.1 CP1
>            Reporter: Jiri Pechanec
>         Assigned To: Kevin Conner
>            Priority: Blocker
>             Fix For: 4.2.1 CP1
>
>         Attachments: processdefinition.xml
>
>
> 1) we have sent message form jBPM to ESB
> 2) The message is processed
> 3) Reponse is sent to jBPM callback service
> 4) Callback command is executed and exception is thrown in jBPM code
> 5) This exception is handled by pipeline processor
> 6) The pipline process will send message fault message
> 7) Fault message is delivered to --- jBPM callback service
> 8) Go to step 4
> This causes permanent message generation

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list