Author |
Message |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 2:14 pm Subject: problem with setting RFH2 header in java |
I just got it to work..
Basically, after the std RFH structure,
you would insert mcd Length and mcdstructure
then insert jms length and jms structure
then insert usr length and usr structure..
... |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 12:07 pm Subject: problem with setting RFH2 header in java |
Mikhail:
The code works great for me..
I have seen multiple posts asking for an example in java to create RFH2.
You should submit this as a sample.
Thanks again,
simran |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 10:49 am Subject: problem with setting RFH2 header in java |
Mikhail:
I would so very much appreciate this..
I am trying it right now..
Thanks very very much. |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 10:34 am Subject: problem with setting RFH2 header in java |
I do have the message length divisible by 4.
However, I have an empty message with nothing but RFh2 structure and
I expect the length to be 36.
Th elength of the message turns out to be 60.
... |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 9:34 am Subject: problem with setting RFH2 header in java |
Jeff:
I added the following line
test.format=MQC.MQFMT_RF_HEADER_2;
and the following before setting the payload
test.encoding=273;
test.characterSet=819;
These are the same values I speci ... |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 9:08 am Subject: problem with setting RFH2 header in java |
Hi Jeff:
I thought by sending the RFH2 structure in the beginning of the message, it understands that.
How do I set the format?
The pre-defined values for the variable MQMessage.format
do no ... |
Topic: problem with setting RFH2 header in java |
simran
Replies: 22 Views: 31225
|
Forum: IBM MQ Java / JMS Posted: Tue Mar 22, 2005 8:51 am Subject: problem with setting RFH2 header in java |
I have the following code snippet to set RFh2 header in java.
However, when I view the message in MQ visual browse, its is not being deciphered as RFH2 header. What am i missing?
Also, I counted ... |
Topic: Setting Group properties in MQRFH2 |
simran
Replies: 11 Views: 10470
|
Forum: IBM MQ Java / JMS Posted: Sun Mar 20, 2005 1:56 pm Subject: Setting Group properties in MQRFH2 |
Can you let me know if you were able to accomplish the nested headers for RFH2? I need to do the same..
Thanks very much,
simran |