Author |
Message
|
mehar |
Posted: Wed Apr 23, 2008 5:36 am Post subject: Mapping node over Compute node in wbi 6.0 |
|
|
Newbie
Joined: 23 Apr 2008 Posts: 6
|
Hi All,
I have an input of fixed length format and my output required is also a fixed length with one to one mapping and all feilds in input is not required on output.Can i just use a mapping node and route the message to the output.
Is there any advantage of using compute node over mapping node.And can Mapping node handle all types of inputs(xml,tds,fixed).
All replys and comments are appreciated.Thanks. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 23, 2008 5:42 am Post subject: Re: Mapping node over Compute node in wbi 6.0 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mehar wrote: |
I have an input of fixed length format and my output required is also a fixed length with one to one mapping and all feilds in input is not required on output.Can i just use a mapping node and route the message to the output. |
If both input and output are defined by message sets (which they should be in the case you give)
mehar wrote: |
Is there any advantage of using compute node over mapping node.And can Mapping node handle all types of inputs(xml,tds,fixed). |
A Mapping node can handle any message for which a message set can be generated.
Compute nodes allow for the easier development of more complex transformations, and access to external data sources, etc, etc, etc. Which has "the advantage" depends entirely on your requirements. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
joebuckeye |
Posted: Wed Apr 23, 2008 5:59 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
In our experience we have found maintainence to be much easier when using ESQL instead of a mapping node.
Our first project had mapping nodes in it and we got sick of trying to do maintainence on the mapping nodes. Now all of our mapping is done in ESQL.
All of the code is right there in the file, easy to see and follow. For the mapping node you need to click open each field to see what is being done for that field. That gets old, really quick. |
|
Back to top |
|
 |
mehar |
Posted: Fri Apr 25, 2008 6:23 am Post subject: |
|
|
Newbie
Joined: 23 Apr 2008 Posts: 6
|
Vitor and Joebuckeye Thanks for reply. |
|
Back to top |
|
 |
kimbert |
Posted: Fri Apr 25, 2008 11:16 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
One point in favour of the Mapping node. If your output message definition is similar to the input message definition, you will be able to exploit the 'Map by name' feature, which works beautifully and can save a lot of time,
Horses for courses...choose the one which best fits the problem. |
|
Back to top |
|
 |
Gaya3 |
Posted: Sun Apr 27, 2008 8:27 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Compute Node is better in performance than Mapping Node.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
AkankshA |
Posted: Sun Apr 27, 2008 8:39 pm Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
One can modify the headers (if need be) in compute node and not in mapping node... _________________ Cheers |
|
Back to top |
|
 |
Gaya3 |
Posted: Sun Apr 27, 2008 8:43 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Headers cant be modified in Mapping node
AkankshA wrote: |
One can modify the headers (if need be) in compute node and not in mapping node... |
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Bill.Matthews |
Posted: Mon Apr 28, 2008 3:43 am Post subject: |
|
|
 Master
Joined: 23 Sep 2003 Posts: 232 Location: IBM (Retired)
|
Gaya3 wrote: |
Headers cant be modified in Mapping node
AkankshA wrote: |
One can modify the headers (if need be) in compute node and not in mapping node... |
Regards
Gayathri |
It depends - In V6, you can map and modify the headers. _________________ Bill Matthews |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Apr 28, 2008 4:12 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Superb...
thats a good info to me....
Bill.Matthews wrote: |
Gaya3 wrote: |
Headers cant be modified in Mapping node
AkankshA wrote: |
One can modify the headers (if need be) in compute node and not in mapping node... |
Regards
Gayathri |
It depends - In V6, you can map and modify the headers. |
Regards
gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
|