ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Clearing Pub/Sub Queues

Post new topic  Reply to topic
 Clearing Pub/Sub Queues « View previous topic :: View next topic » 
Author Message
Chaitanya
PostPosted: Sun Feb 19, 2006 6:56 pm    Post subject: Clearing Pub/Sub Queues Reply with quote

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.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Feb 19, 2006 8:41 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

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...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Chaitanya
PostPosted: Tue Feb 21, 2006 1:47 am    Post subject: Reply with quote

Newbie

Joined: 19 Feb 2006
Posts: 2

I got the Unsubscribing code at following like.

http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Clearing Pub/Sub Queues
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.