Posted: Mon Nov 07, 2005 1:17 am Post subject: Persistence property not working
Novice
Joined: 06 Oct 2005 Posts: 16
We are using MQ-JMS for sending messages to client.
The persistence property is set to NON_PERSISTENT.
However the message after being read at client side still persists in the queue, resulting in queue getting full.
Is there any queue setting which specifies that all messages on queue are persistent??
Let me know if anything is wrong?
The code for sending message is as below:
Actually the client application which gets the message is doing a BROWSE on the queue to get the message.We are also using channels for the same as queue managers are different.
We are receiving the message on client side and are able to read it, hence client is working properly.
I have also set the expiry time using MQMessage.expiry, however the message is not collected by queue manager for disposal.
Are there any circumstances under which the message remains in queue
after being read from queue??
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum