How to Return 200 HTTP Status when Transaction is Rolled Back in Pipeline.

(Doc ID 2388962.1)

Last updated on MAY 03, 2018

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Goal

When a transaction is rolled back while executing pipeline, if "Reply with Success" was set, then following errors with com.bea.wli.sb.pipeline.PipelineException are seen:

OSB-382050 Expected active transaction, actual transaction status: Marked Rollback
OSB-382191 Expected active transaction, actual transaction status: Marked Rollback

If the error returns, then HTTP Status 500 is returned to the client.

How to return 200 HTTP Status to client?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms