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 » Very simple - but not

Post new topic  Reply to topic
 Very simple - but not « View previous topic :: View next topic » 
Author Message
colintaylor
PostPosted: Fri Feb 14, 2003 3:10 am    Post subject: Very simple - but not Reply with quote

Newbie

Joined: 16 Sep 2002
Posts: 7
Location: London

I have a very simple transformation to do.

Take an XML message with a CData section, strip off the tags and output it to a queue as a string.

The length of the message is unknown.

When I put it through the MRM (CWF) as a single field, null terminated, it of course adds a null to the end of the string. When I use TDF after adding a delimiter it keeps the delimiter on the message (and also seems to require a tag).

I know there must be a simple way to do this, but I don't know what it is.

Can anyone help?

Regards,
Colin
_________________
colin
Back to top
View user's profile Send private message Send e-mail
Nyusser
PostPosted: Fri Feb 14, 2003 3:26 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

Good old End of Bitstream (in CWF formatted element's Length Units).

- Nyusser
Back to top
View user's profile Send private message
colintaylor
PostPosted: Fri Feb 14, 2003 3:51 am    Post subject: Reply with quote

Newbie

Joined: 16 Sep 2002
Posts: 7
Location: London

Thanks for that, nice and simple.

Seems to output a string without a null at the end of the message, but there is now a null at the start. Is this normal behaviour?

Thanks
_________________
colin
Back to top
View user's profile Send private message Send e-mail
Nyusser
PostPosted: Sun Feb 16, 2003 10:49 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

No, not a normal behaviour. There has to be some component in the message flow (or in the message definitions) that adds the null at the start...

- Nyusser
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 » Very simple - but not
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.