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 » General IBM MQ Support » Problem Regarding Java PCF jars

Post new topic  Reply to topic
 Problem Regarding Java PCF jars « View previous topic :: View next topic » 
Author Message
darring
PostPosted: Tue Sep 09, 2008 6:26 am    Post subject: Problem Regarding Java PCF jars Reply with quote

Apprentice

Joined: 14 Jun 2008
Posts: 36

Hi,
I have a java program to create a Sender channel. I have written,
request = new PCFMessage(CMQCFC.MQCMD_CREATE_CHANNEL);
request.addParameter (MQCFST.MQCACH_CHANNEL_NAME, ChannelName)
request.addParameter(MQCFIN.MQIACH_CHANNEL_TYPE, MQC.MQCHT_SENDER);
It's complaining saying MQC.MQCHT_SENDER cannot be respolved. Could anyone tell me what's the problem with this??? I have MQ and PCF jars in proper place.

Thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Sep 09, 2008 6:42 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi darring,

See if this helps
Code:
PCFMessage request = new PCFMessage(CMQCFC.MQCMD_CREATE_CHANNEL);
request.addParameter(CMQCFC.MQCACH_CHANNEL_NAME, ChannelName);
request.addParameter(CMQCFC.MQIACH_CHANNEL_TYPE, CMQXC.MQCHT_SENDER);

Regards.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Sep 09, 2008 7:57 pm    Post subject: Reply with quote

Grand High Poobah

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

Remember if you create a sender channel you need at least to add a conname and an xmitq. There are minimum requirements to creating a sender channel.
_________________
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 » General IBM MQ Support » Problem Regarding Java PCF jars
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.