|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Creating RFH2 in C# |
« View previous topic :: View next topic » |
Author |
Message
|
angka |
Posted: Tue Jan 29, 2008 7:47 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
I am using C#.net. I follow the steps but somehow MQC.MQRFH_STRUC_LENGTH_FIXED_2 value is 36. is this the correct value?? I used rfhutil to send the same Publish message, but the MQC.MQRFH_STRUC_LENGTH_FIXED_2 seems to be 40.
I added 4 to the MQC.MQRFH_STRUC_LENGTH_FIXED_2 in my code and then it works... |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jan 30, 2008 4:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
angka wrote: |
Hi,
I am using C#.net. I follow the steps but somehow MQC.MQRFH_STRUC_LENGTH_FIXED_2 value is 36. is this the correct value?? I used rfhutil to send the same Publish message, but the MQC.MQRFH_STRUC_LENGTH_FIXED_2 seems to be 40.
I added 4 to the MQC.MQRFH_STRUC_LENGTH_FIXED_2 in my code and then it works... |
You can do a search and read all about the length rules for the RFH2 or use the XMS support pack (JMS for non java languages).
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
angka |
Posted: Wed Jan 30, 2008 6:45 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
Thanks.. I will look around for the length rules.. =) |
|
Back to top |
|
 |
angka |
Posted: Wed Jan 30, 2008 7:31 pm Post subject: |
|
|
Chevalier
Joined: 20 Sep 2005 Posts: 406
|
Hi,
I know why I need to add 4 already.. it is for the writeInt4 which is for the NameValueLength. Thanks. |
|
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
|
|
|
|