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 » Help! Compress Message in Channel?

Post new topic  Reply to topic
 Help! Compress Message in Channel? « View previous topic :: View next topic » 
Author Message
Anhhv
PostPosted: Thu Nov 01, 2007 10:59 pm    Post subject: Help! Compress Message in Channel? Reply with quote

Newbie

Joined: 07 Sep 2007
Posts: 9

Hi master!
I have piece code to create a Channel (i'm using VB.net and IBM.WMQ.PCF)
but i don't known config attribute Compress Message of Channel (Version6.0)
Please give me some code to config it!

my code:

Dim RequestMessage As PCFMessage
Dim Agent As PCFMessageAgent
Dim strChannelName As String="FROM_INTERNAL"
Dim strTranmisQueue As String="Queue_Tranmis"
Dim strIP as String

RequestMessage = New PCFMessage(CMQCFC.MQCMD_CREATE_CHANNEL)
RequestMessage.AddParameter(CMQCFC.MQCACH_CHANNEL_NAME, strChannelName)

Agent = new PCFMessageAgent("QueueManageName")
RequestMessage.AddParameter(MQIACH_CHANNEL_TYPE, MQC.MQCHT_SENDER)
RequestMessage.AddParameter(CMQCFC.MQCACH_DESC, "This's description")
RequestMessage.AddParameter(CMQCFC.MQCACH_CONNECTION_NAME, strIP)
RequestMessage.AddParameter(CMQCFC.MQCACH_XMIT_Q_NAME, strTranmisQueue)

'// Some code to Compress Message at here

RequestMessage.AddParameter(MQIACH_HB_INTERVAL, 120)
RequestMessage.AddParameter(MQIACH_BATCH_SIZE, 4)

Agent.Send(RequestMessage)



Thanks!
_________________
Mr. Hoang Van Anh


Last edited by Anhhv on Fri Nov 02, 2007 6:35 pm; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger
mvic
PostPosted: Fri Nov 02, 2007 1:55 am    Post subject: Re: Help! Compress Message in Channel? Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Anhhv wrote:
but i don't known config attribute Compress Message of Channel (Version6.0)

I think the answer's in the part of the manual where the Create Channel command is documented: http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzac.doc/pc11020_.htm
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Fri Nov 02, 2007 12:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Can you set it up manually correctly and working?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Anhhv
PostPosted: Fri Nov 02, 2007 5:33 pm    Post subject: Reply with quote

Newbie

Joined: 07 Sep 2007
Posts: 9

When i config manually that's OK. but i want to use code with PCF, so i don't find some attributes to config it.
_________________
Mr. Hoang Van Anh
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Help! Compress Message in Channel?
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.