Unable to pop message from jms queue with fixed delay when in cluster (Doc ID 1966746.1)

Last updated on DECEMBER 03, 2016

Applies to:

Oracle WebLogic Server - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

Use case:

(a) In WLS 11g, with the following binding properties:
- adapter.jms.receive.threads = 1
- minimumDelayBetweenMessages = 120000 (for 2 minutes)
- singleton = true

Reference jca config for the adapter for test:

<adapter-config name="FinancialGatewayPaymentJMSReceive" adapter="JMS Adapter" wsdlLocation="FinancialGatewayPaymentJMSReceive.wsdl" xmlns="" title="Click (or CTRL+Click if using Firefox) to view" name="contextTextUrl_1422898220377" target="_blank">http://platform.integration.oracle/blocks/adapter/fw/metadata">
 <connection-factory location="eis/wls/ConnFactForPS" UIJmsProvider="WLSJMS" UIConnectionName="SOADEV"/>
 <endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
   <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
     <property name="PayloadType" value="TextMessage"/>
     <property name="MessageSelector" value="MessageName='PMT_FLAT_FILE.VERSION_1'"/>
     <property name="UseMessageListener" value="false"/>
     <property name="DestinationName" value="jms/ps/EventQueueFromPsft"/>
   </activation-spec>
 </endpoint-activation>
</adapter-config>

(b) Three messages of the same type are placed on the JMS queue.

(c) Behavior in cluster:

- Two of the messages are picked up at the exact same time and processed.
- The last message uses the minimumDelayBetweenMessages parameter, and waits for the 2 minutes to complete before picking up the last message.

(d) Expected behavior from WLS docs is that, each message should be picked up in accordance to the setting in minimumDelayBetweenMessages, in short:
- Read 1st message, delay 2 minutes, Read 2nd message, delay 2 minutes, Read 3rd message, delay 2 minutes.

The behavior noted in (d) works in single server, but in cluster it behaves like (c).

Changes

 

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