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 » WebSphere Message Broker (ACE) Support » Removing MQRFH2 Header from Receiving Message

Post new topic  Reply to topic
 Removing MQRFH2 Header from Receiving Message « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Tue Jan 07, 2003 12:25 am    Post subject: Removing MQRFH2 Header from Receiving Message Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

hi

I have a scenario like, I have MQJava program which is retrieving messages from a Queue to which JAVA Client is placing messages.
Here how I can remove MQRFH2 header from the message?
is it possible to control in mqsi controlcenter using computenode itself?

Note: My MQJava Progrm will do that removing header part.but Some scenario i need to control from MQSI node itself.
Any Suggestion
Incoming Message is like

52 46 48 20 02 00 00 00 RFH ....
88 00 00 00 22 02 00 00 ...."...
B5 01 00 00 20 20 20 20 µ...
20 20 20 20 00 00 00 00 ....
B8 04 00 00 40 00 00 00 ¸...@...
3C 70 73 63 3E 3C 43 6F <psc><Co
6D 6D 61 6E 64 3E 50 75 mmand>Pu
62 6C 69 73 68 3C 2F 43 blish</C
6F 6D 6D 61 6E 64 3E 3C ommand><
54 6F 70 69 63 3E 49 42 Topic>AS
2F 58 4D 4C 52 45 50 4C /MSGREPL
59 3C 2F 54 6F 70 69 63 Y</Topic
3E 3C 2F 70 73 63 3E 20 ></psc>
1C 00 00 00 3C 6D 63 64 ....<mcd
3E 3C 4D 73 64 3E 78 6D ><Msd>xm
6C 3C 2F 4D 73 64 3E 3C l</Msd><
2F 6D 63 64 3E 20 20 20 /mcd>

the above part i need to remove using the MQSI Node.
3C 3F 78 6D 6C 20 76 65 <?xml ve
72 73 69 6F 6E 3D 22 31 rsion="1
2E 30 22 20 65 6E 63 6F .0" enco
64 69 6E 67 3D 22 49 53 ding="IS
4F 2D 38 38 35 39 2D 31 O-8859-1
22 20 3F 3E 3C 72 6F 6F " ?><roo
74 3E 3C 72 65 73 20 63 t><res c
6F 64 65 3D 22 31 30 30 ode="Tes
38 22 20 20 75 6E 30 30 t" ref0
31 3D 22 39 37 63 62 62 1="97cbb
62 62 34 30 61 39 30 38 brida908
63 36 61 32 64 66 38 33 c6asfs83
62 31 62 61 39 64 64 62 b1bsfsdb
63 64 32 22 3E 3C 72 65 cd2"><re
63 3E 3C 6D 73 67 63 64 c><ksgcd
3E 58 30 30 30 30 30 31 >X000001
3C 2F 6D 73 67 63 64 3E </ksgcd>
3C 6D 73 67 64 73 3E 4E <ksgds>N
6F 20 64 61 74 61 20 74 o data t
6F 20 72 65 74 75 72 6E o return
20 66 6F 72 20 72 65 71 for req
75 65 73 74 3C 2F 6D 73 uest</ks
67 64 73 3E 3C 2F 72 65 gds></re
63 3E 3C 2F 72 65 73 3E c></res>
3C 2F 72 6F 6F 74 3E 20 </root>

Note: My MQJava Progrm will do that removing header part.but Some scenario i need to control from MQSI node itself.
Any Suggestion
Thanks in Advance,
raj
Back to top
View user's profile Send private message
yaakovd
PostPosted: Mon Jan 20, 2003 7:16 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Hi,
Of course you can in MQSI.
In your compute node you need only copy message body and MQMD or all needed headers except MQRFH2.

If you already have any compute node when you copy input message include its headers - try this:
SET "OutputRoot"."MQRFH2" = UNKNOWN;
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Removing MQRFH2 Header from Receiving Message
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.