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 » IBM MQ API Support » Stripping RFHeader in C#

Post new topic  Reply to topic
 Stripping RFHeader in C# « View previous topic :: View next topic » 
Author Message
HeadOffice
PostPosted: Mon May 12, 2008 9:58 am    Post subject: Stripping RFHeader in C# Reply with quote

Newbie

Joined: 13 Mar 2008
Posts: 9

Hi,
I have no control over the sender of messages on a queue. They are using a Java implementation and writing messages with the RFHeader prepended to each message.

With my C# application, I'm pulling each message off the queue as a string and need to know a simple & reliable way to strip the RFHeader info out.

Anyone have any ideas?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon May 12, 2008 11:21 am    Post subject: Re: Stripping RFHeader in C# Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

HeadOffice wrote:
Anyone have any ideas?


Use XMS
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
HeadOffice
PostPosted: Mon May 12, 2008 2:30 pm    Post subject: I could use XMS... Reply with quote

Newbie

Joined: 13 Mar 2008
Posts: 9

... but rather than rewrite it's much easier to just strip off everything before the valid xml tag <?xml ...

gets the job done so I can take my time and look at XMS (though C# version only in beta and download link incorrect)...
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 » IBM MQ API Support » Stripping RFHeader in C#
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.