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 » WebSphere Message Broker (ACE) Support » how to set "PUT(DISABLED)" or CLWLPRTY from a flow

Post new topic  Reply to topic
 how to set "PUT(DISABLED)" or CLWLPRTY from a flow « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Fri Feb 07, 2014 1:04 am    Post subject: how to set "PUT(DISABLED)" or CLWLPRTY from a flow Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

In order to influence the cluster workload algorithm, I would like to test if I can set a cluster queue parameter "PUT(ENABLED)" to "put(disabled)" from a mb flow.

In fact, I dont like put(disabled) because you cant disable all instances of a cluster queue. I think changing the CLWLPRTY is better, as you never get to a situation with no queues available.

So I can change my question to :

how can I change CLWLPRTY from a MB flow ?

Thanks for any URLS or sugestions.
Sebastian.
Back to top
View user's profile Send private message Visit poster's website
Esa
PostPosted: Fri Feb 07, 2014 3:05 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

By sending a PCF message to the queue managers command queue.
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri Feb 07, 2014 3:07 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Yes, guess you are talking about a "Java node", rigth ?

Any code sample ??
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Fri Feb 07, 2014 3:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Well, you could easily construct a BLOB message in ESQL that happened to contain a PCF Change Queue command.

For some value of 'easily'.
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri Feb 07, 2014 4:25 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Jeff - good idea, but I still need some sample. I am quite green (new) on MB.

Now I am reading \ms0b\com.ibm.mq.pcf\examples\ ...

Cheers ! Sebastian.
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Fri Feb 07, 2014 5:13 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Take a look at the AMQSCLM program that now ships with MQ.

http://pic.dhe.ibm.com/infocenter/wmqv7/v7r1/topic/com.ibm.mq.doc/fg17980_.htm

Quote:
This sample uses the built-in WebSphere® MQ cluster workload balancing features to direct messages to instances of queues that have consuming applications attached. This automatic direction prevents the build-up of messages on an instance of a cluster queue to which no consuming application is attached.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 07, 2014 6:01 am    Post subject: Reply with quote

Grand High Poobah

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

or http://pic.dhe.ibm.com/infocenter/wmqv7/v7r5/topic/com.ibm.mq.dev.doc/q024620_.htm
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Sat Feb 08, 2014 4:48 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks both, guys - you both point me to the same article, even on diferent mq versions, jejeje - mr Peter -> 7.1, mr Saper -> 7.5

Will read in a minute.

But in our situation (see bellow), the consumer is always there - it is a MB flow.

And I think resending messages is not the way to go - you can get into a loop !

More on Monday ! Have to play tennis this evening .... jejeje

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Sat Feb 08, 2014 5:04 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

I see you also got my other "half" of the question.

Thanks a lot for your help.
Would like to pay you a beer if you come to Barcelona, as Michael did ()

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
Studv01
PostPosted: Sun Aug 28, 2016 10:36 am    Post subject: Reply with quote

Apprentice

Joined: 23 Jan 2015
Posts: 27

the above urls are not working for me. need similar help with Version 8.0
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Aug 28, 2016 8:16 pm    Post subject: Reply with quote

Grand High Poobah

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

Studv01 wrote:
the above urls are not working for me. need similar help with Version 8.0

And you did not think to use the little version combo box next to it??

http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.dev.doc/q024620_.htm
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to set "PUT(DISABLED)" or CLWLPRTY from a flow
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.