Posted: Sun Feb 19, 2006 6:56 pm Post subject: Clearing Pub/Sub Queues
Newbie
Joined: 19 Feb 2006 Posts: 2
Hi All,
Can we clear the System queues which are used for Publisher/Subscriber?
We have not unsubscribed the subscriber therefore system queues get full. To avoid this we restart the system each weekend and clears the system queues manually.
Is it possible to clear these system queues without shutting down the connection with MQ? These queues are of no use after banking hours for my system. Or is there any other way to remove such hanging subscriber/publisher. Can we set any timeout for them?
Regards,
Chaitanya S. Yardi. _________________ Regards,
Chaitanya S. Yardi.
I believe you really need to find out why the subscribers are shutting down without cancelling their subscription. Maybe you need to create an automatic unsubscribe on dispose or finalization...
This code posts the command correctly but fails while retriving the reply.
It prints the commet that Qmanager is not running.
Problem with this is code is that MODEL queue which is used AMQSPSD.PERMDYN.MODEL.QUEUE does not exists therfore I have created the MODEL queue.
One more point with this code is that It is not accepting hostname of MQ machin channel etc. I have added few line of by Setting MQEnvironment.
I would like to clear dead subscription messages from publisher/subscriber.
Regards,
Chaitanya S. Yardi. _________________ Regards,
Chaitanya S. Yardi.
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