Count Based Batching Is Not Working For Multiple Documents For A Single Partner (Doc ID 1527615.1)

Last updated on NOVEMBER 19, 2016

Applies to:

Oracle SOA Platform - B2B (Business to Business) - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.1.1.4.0 version, Core B2B Platform

ACTUAL BEHAVIOR
---------------
Count-based batching is not occurring for multiple document types.

EXPECTED BEHAVIOR
-----------------------
Two or more different document types should get batched together in one ISA envelope with two or more GS envelopes, if the same batch ID is being used.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:


1) For example, deploy an 864 document outbound agreement.

2) Deploy a 210 document outbound agreement.

3) Create a JMS internal listening channel with polling frequency of 5.

4) Import a JMS message containing an 864 document with header property ACTION_NAME=D:Test1:2:5 (indicating batch ID "Test1", two-message batch size, and 5-minute timeout) into the JMS listening channel. You will see an 864 message in MSG_WAIT_BATCH state.

5) Import another JMS message with an 864 document with header property ACTION_NAME=D:Test1:2:5. Now you will see both messages batched up, and message state changed to MSG_COMPLETE, as expected.

6) Now, import a JMS message containing an 864 document with header property ACTION_NAME=D:Test1:2:5. You will see an 864 message in MSG_WAIT_BATCH state.

7) Now import a JMS message containing a 210 document with header property ACTION_NAME=D:Test1:2:5 into the JMS listening channel. You will see a 210 message remaining in MSG_WAIT_BATCH state, which is not correct. 

The expectation is that:

- Both messages (864 & 210) move to MSG_COMPLETE state.

- Both messages get batched together in one ISA envelope with two GS envelopes, as they are using the same batch ID "Test1".

 

Cause

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