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 » message formats conversion

Post new topic  Reply to topic
 message formats conversion « View previous topic :: View next topic » 
Author Message
mrgate
PostPosted: Thu Mar 29, 2007 7:02 am    Post subject: message formats conversion Reply with quote

Centurion

Joined: 28 Feb 2007
Posts: 141
Location: India

hey,
I have created a message flow project where my project includes three message sets and one message flow.
whats the aim of my project is to convert from xml to cwf and propagate through from one terminal and then convert from cwf to tds and then propagate from another terminal and what is the problem is that i am using mqinput node,mqoutput node,compute node where the entire conversion can be made through one compute node. can any one give me the code.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 29, 2007 7:21 am    Post subject: Reply with quote

Grand High Poobah

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

How does this differ from

http://www.mqseries.net/phpBB2/viewtopic.php?t=35940&highlight=


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mrgate
PostPosted: Thu Mar 29, 2007 7:26 am    Post subject: Reply with quote

Centurion

Joined: 28 Feb 2007
Posts: 141
Location: India

the difference between this one and previous one is that this one is converting from xml to cwf and the resultant cwf is converted to tds where as previous one is converted both tds and cwf from xml only
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 29, 2007 7:27 am    Post subject: Reply with quote

Grand High Poobah

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

rock wrote:
the difference between this one and previous one is that this one is converting from xml to cwf and the resultant cwf is converted to tds where as previous one is converted both tds and cwf from xml only


Fair point.

Why not convert XML->TDS? Why the intermediate CWF step?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mrgate
PostPosted: Thu Mar 29, 2007 7:33 am    Post subject: Reply with quote

Centurion

Joined: 28 Feb 2007
Posts: 141
Location: India

i am asking whether it is possible or not. If possible then please give me the solution.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Mar 29, 2007 7:52 am    Post subject: Reply with quote

Grand High Poobah

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

rock wrote:
i am asking whether it is possible or not. If possible then please give me the solution.


Just trying to work out your requirements to determine if there's a better way of achieving the same end....

AFAIK you can only build a single output tree, so to produce two output formats you need to clear it with PROPAGATE or similar. To have an intermediate step such as you intimate, you'd need to build the CWF tree in memory (Environment??) and then migrate that to the output tree.

Never tried it though. I'd use 2 compute nodes (or go straight to TDS).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Mar 29, 2007 11:57 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

You can easily do what you require in a single Compute node. Use CREATE ...PARSE specifying 'MRM' as the domain and supplying different parameters for SET, TYPE and FORMAT on each call.

But Vitor is correct - we can only help when you describe your requirements. You are doing something very strange - nobody has ever asked for this before. There are two possible reasons
a) You have a very special set of requirements. If so, we ( IBM and the WMB development team ) would very much like to hear about them.
b) You have missed an easier way to do what you need. If so this is the perfect place to learn a better way.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Mar 29, 2007 3:40 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can create as many different parser trees in Environment as you want.

It is somewhat more difficult to serialize more than one parser tree through an Output node... but I can think of a couple of different ways to do it - so it's definitely possible.

In fact, if one really were feeling frisky, one could do everything one wanted to in a single custom Input node. Make that node as big and messy a pile of spagetti as one wanted.

But that wouldn't be the proper thing to do for an enterprise solution.
_________________
I am *not* the model of the modern major general.
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 » message formats conversion
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.