Search code examples
httptry-catchtibco-business-works

how to catch HTTP activity errors only in tibco bw


In my TIBCO BW project I have one process which has some activities like mapper, http, jms etc and I have caught activity also. But I want to catch all the errors created by HTTP activity not other activity errors . Please help me on this .


Solution

  • I can suggest you two solutions.

    1. The first-one consists in catching explicitly the exception from the HTTP activity using an "error" branch enter image description here enter image description here

    2. The second-one consists to catch the different exceptions throw by the HTTP activity exceptions (HTTP Client exception, HTTP Server Exception, HTTP Communication Exception)

    enter image description here enter image description here