|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
StrucLength ( MQRFH2 ) |
« View previous topic :: View next topic » |
Author |
Message
|
San |
Posted: Wed Dec 31, 2003 1:54 am Post subject: StrucLength ( MQRFH2 ) |
|
|
Newbie
Joined: 31 Dec 2003 Posts: 4
|
Hi
I am using an IBM MQ JMS Client and a JMS application. I have to set StrucLength in MQRFH2 header in the Client and get the same in the application listening the messages. Can anybody tell me how it could be done.
Also in the client do I neet to change JMSC property.
MQQueueConnectionFactory factory = new MQQueueConnectionFactory();
factory.setTransportType(JMSC.MQJMS_TP_CLIENT_MQ_TCPIP);
Thanks in Anticipation,
San |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Dec 31, 2003 8:56 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
If you are using JMS, then I would say that you don't even need to know that an RFH2 header exists. The manipulation of it is done by MQ (and by you if you have a usr folder). What are you doing that requires you to get its length with JMS? |
|
Back to top |
|
 |
San |
Posted: Wed Dec 31, 2003 11:55 pm Post subject: |
|
|
Newbie
Joined: 31 Dec 2003 Posts: 4
|
The problem lies in the fact that my client which could be either JMS or MQ would send me a BytesMessage. The message would contain an XML and an image. The MQRFH2 header has fixed a portion and a variable portion. The fixed portion has fields like StrucID, StrucLength etc. The value of StrucLength could vary and I need to read the value of StrucLength. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Jan 05, 2004 8:06 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
|
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
|
|
|
|