How To Set Auto Acknowledgement In MDB (avoid poison message reconsumption) (Doc ID 2157899.1)

Last updated on JULY 05, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.4.0.1.0 and later
Oracle Utilities Framework - Version 4.2.0.3.0 and later
Oracle Utilities Meter Data Management - Version 2.1.0.1 and later
Information in this document applies to any platform.

Goal

We have created a Message Driven Bean (MDB) to read remote TIBCO EMS Queue for data sync acknowledgement and for usage request status transition based on CCB-MDM integration document.

When Message Driven Bean is unable to execute a message (e.g. when message calls CCB Inbound Service and CCB Inbound Service fails due to some issue) it is rolling back message to remote TIBCO EMS Q.  Again after 60 seconds (configurable parameter), the MDB reads the same message and is rolling back because of error.  This goes into an infinite loop until some external process clears a message from EMS Q.  Because of this, CCB logs are becoming large and unmanageable.  Is there a way to set auto-acknowledgment and not roll back the message?
 

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