GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

AQ Client Acknowledge not working

edited Dec 29, 2010 11:19PM in GoldenGate, Streams and Distributed Database (MOSC) 1 commentAnswered
 
Hi

I noticed some strange behaviour with Oracle AQ and the Client_Acknowledge on the session (using standard JMS API's)

I created the session as follows
Session session = connection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE);

And in my listener I am acknowledging the message as follows
if (session.getAcknowledgeMode() == Session.CLIENT_ACKNOWLEDGE)
{
message.acknowledge();
}

But, when I restart my server, the messages still exist on the queue.
Is there anything that needs to be setup on the queue itself to enable Client_Acknowledge?
I tried the same code with Auto_ACknowledge and it works as expected

Any help getting Client_Acknowledge working is greatly appreciated

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center