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 » Convert from one format to multiple

Post new topic  Reply to topic
 Convert from one format to multiple « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Sun Nov 04, 2007 5:11 pm    Post subject: Convert from one format to multiple Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi i am getting a request in xml/flat file.

How do i convert this xml format to multiple format output like Xml to tds and cwf.

Vice versa.

Thanks guys.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Sun Nov 04, 2007 8:07 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi SOLOHERO,

You could code all of the formats in ESQL, or better use RCDs with message sets.

Regards.
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Mon Nov 05, 2007 3:41 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Easy. This is what the MRM parser is good at.

In your message set:
- Create a message set
- add one TDS physical format ( 'TDS1' )
- add one CWF physical format ('CWF1' )

In your message flow:
- Parse the XML input message
- Set OutputRoot.Properties.MessageFormat to 'TDS1' and go to an output node
- Set OutputRoot.Properties.MessageFormat to 'CWF1' and go to an output node.

Quote:
You could code all of the formats in ESQL
Please don't do that. It would be very bad practice, and not at all maintainable.
Back to top
View user's profile Send private message
SOLOHERO
PostPosted: Tue Nov 06, 2007 2:56 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thank you, I am just wondering is there any other method of doing it..
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Tue Nov 06, 2007 3:31 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Can you explain why the suggested solution is not what you need. It will make it easier to answer your question.
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 » Convert from one format to multiple
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.