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 header info.........

Post new topic  Reply to topic
 Removing header info......... « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Thu Jan 16, 2003 10:54 pm    Post subject: Removing header info......... 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 RFH2 header information from the message?
is it possible to remove using the ESQL Commands?

Thanks in Advance
raj
Back to top
View user's profile Send private message
fschofer
PostPosted: Fri Jan 17, 2003 12:42 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Sure you can, use this ESQL Code in a compute node

SET OutputRoot = InputRoot;

SET OutputRoot.MQRFH2 = NULL;

You also have to change your Message Format to 'MQSTR'

SET OutputRoot.MQMD.Format = 'MQSTR';
Back to top
View user's profile Send private message Send e-mail
rajmq
PostPosted: Sat Jan 18, 2003 2:41 am    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi

Thanks for ur reply

I added that ESQL Command it is working fine.But the message contains some extra characters.i want to remove that also..

the message is like(after removing header info):

’..t.x<?xml version="1.0" encoding="ISO-8859-1"?>.
<root>
<errcd>xxxx</errcd>
<errds>xxxxx</errds>
</root>.
is it possible to remove that extra(bold letters) characters??

raj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Removing header info.........
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.