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 IndexGeneral DiscussionStop messages processing from MQ queue

Post new topicReply to topic
Stop messages processing from MQ queue View previous topic :: View next topic
Author Message
Inforz
PostPosted: Thu May 03, 2018 8:18 pm Post subject: Stop messages processing from MQ queue Reply with quote

Centurion

Joined: 15 Apr 2011
Posts: 111
Location: Chennai, India

Hi,

I have loaded a MQ queue QL1 with 1000 messages(of same size) from another queue QL2 of the same queue manager. QL1 is listened by a jms client to get messages from it.

I noticed the messages are processed at two messages per second and around 300 got processed by the time on QL1. Now I just wanted to halt the same in the middle and try with something else.

How can I do it please, Please suggest the best of options below

a) Stop the listener
b) Stop the channel through which the messages are processed.

or anything still better that I haven't listed

MQv8.0.0.6 Windows variant is used for this


Thanks,
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 03, 2018 9:29 pm Post subject: Reply with quote

Grand Poobah

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

How about stopping the JMSClient ??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Inforz
PostPosted: Fri May 04, 2018 2:02 am Post subject: Reply with quote

Centurion

Joined: 15 Apr 2011
Posts: 111
Location: Chennai, India

Ahh, that gets out of my control to stop JMS client, Just the MQ part under my scope.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri May 04, 2018 2:29 am Post subject: Reply with quote

Grand Poobah

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

Get inhibit the queue ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Sun May 06, 2018 4:09 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1886
Location: Melbourne, Australia

Inforz wrote:
Ahh, that gets out of my control to stop JMS client, Just the MQ part under my scope.

If the JMS client is using a particular SVRCONN channel to connect to the qmgr, you have control to STOP that channel. However, this will cause 2009 / 2059 reason codes in the JMS client, which may or may not be significant.
_________________
Glenn
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral DiscussionStop messages processing from MQ queue
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.