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 API Support » Inquire senders with NPMSPEED not NORMAL via Java API?

Post new topic  Reply to topic
 Inquire senders with NPMSPEED not NORMAL via Java API? « View previous topic :: View next topic » 
Author Message
Suessli
PostPosted: Wed Mar 04, 2009 5:50 am    Post subject: Inquire senders with NPMSPEED not NORMAL via Java API? Reply with quote

Novice

Joined: 29 Jan 2008
Posts: 15

Hi everyone,

I am trying to get every sender channel which has NPMSPEED not set to NORMAL. How would you achieve this via PCF commands of the Java API?

I am trying it as follows.

Code:

...
request = new PCFMessage(CMQCFC.MQCMD_INQUIRE_CHANNEL);
request.addParameter(CMQCFC.MQCACH_CHANNEL_NAME, "*");
request.addParameter(MQIACH_CHANNEL_TYPE, MQCHT_SENDER);
request.addFilterParameter(MQIACH_NPM_SPEED, MQCFOP_NOT_EQUAL, MQNPMS_NORMAL);

responses = agent.send(request);
...


Unfortunately I am getting MQRC 2085 if there is no channel which matches my filter criteria so s.th. has to be wrong.

1. Am I doing it correctly?
2. How would you do this?
3. Is it possible to add more than one filter criteria via the addFilterParameter method? I was trying it but only the last criteria added was evaluated.
_________________
Suessli
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 API Support » Inquire senders with NPMSPEED not NORMAL via Java API?
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.