|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Help! Compress Message in Channel? |
« View previous topic :: View next topic » |
Author |
Message
|
Anhhv |
Posted: Thu Nov 01, 2007 10:59 pm Post subject: Help! Compress Message in Channel? |
|
|
 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 |
|
 |
mvic |
Posted: Fri Nov 02, 2007 1:55 am Post subject: Re: Help! Compress Message in Channel? |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Nov 02, 2007 12:43 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
Anhhv |
Posted: Fri Nov 02, 2007 5:33 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|