|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
New to MB |
« View previous topic :: View next topic » |
Author |
Message
|
Amod Gole |
Posted: Wed Jun 09, 2010 11:25 pm Post subject: New to MB |
|
|
Newbie
Joined: 09 Jun 2010 Posts: 8
|
Hello All,
I am new to WMB. WE have got requirement from client in which he is expecting from us to use WMB 6.1.
In this requirement we have to convert XML messages to binary message. But before converting we have to implements lots of validation. After validation we have to map XML tags to some other field from some DDL files. This DDL files contains information binary message structure.
for e.g.
lets say XML input is something like this
<firstName>Suhas</firstName>
DDL file cotains
XMl Field NSK field Pos Offset
firstName sgOn.Fname 1 20
Depend on POS I have to put field in Binarry array Output Message.
DDL file contains thousand of fields.
Now My Question Which Node should I use in this? Comput, MAP or Java Compute.? How To manage DDL file? How to read DDL file in ESQL node?
What is the best appproach to start with?
thanks in Advance,
Amod |
|
Back to top |
|
 |
kimbert |
Posted: Thu Jun 10, 2010 1:36 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
In this requirement we have to convert XML messages to binary message. |
So you should parse the message using the XMLNSC parser and write it using the MRM parser. The MRM parser will need a message set with a CWF physical format ( unless your data contains tagged or delimited fields, in which case you will need a TDS physical format instead ).
Quote: |
But before converting we have to implements lots of validation. |
'Validation' can mean many different things. Please describe this validation in detail.
Quote: |
After validation we have to map XML tags to some other field from some DDL files. This DDL files contains information binary message structure. |
You need to create message definition files from your DDL files. Message broker has importers for COBOL and C, but not for your DDL format. You may be able to write a DDL-to-COBOL or DDL-to-C converter, and then use one of the provided importers.
For my own interest, is your DDL format a published standard, or is it an internal standard created by the organization that you are working for.
You will find it very useful to read these pages in the infocenter as background:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bc88710_.htm
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ad00670_.htm
...and the topics under the same branch of the topic structure. |
|
Back to top |
|
 |
sushilishere |
Posted: Thu Jun 10, 2010 2:22 am Post subject: |
|
|
 Apprentice
Joined: 27 Jul 2008 Posts: 36
|
Not Sure abt the direct usage of DDL files to create message sets, which are like the only way to parse data( msg set shd be under the MRM domain). If u want to use XMLNSC or related XML structures mapping will allow u to do so but u cant again use them to parse data.
Now coming to Java,ESQL,Mapping.. ESQL is the fastest and best suited w.r.t MB. Mapping is more for simple transformations. Java is best suited if ur either really comfortable with it or if u have to use extrenal libraries to use.
Import a DDL into MB and and check its options. First it shd even recognize it before anything else can happen
!!!! _________________ ----------------------------
IBM MQ v6.0 Sys Admin
IBM MBv6.0 Sol Desgnr
----------------------------------------------------
By the Mountain Side.. looking at the Great Divide
---------------------------------------------------- |
|
Back to top |
|
 |
sushilishere |
Posted: Thu Jun 10, 2010 2:24 am Post subject: |
|
|
 Apprentice
Joined: 27 Jul 2008 Posts: 36
|
Lol .. Same suggestion from my side.. just tat dint know kimbert had said it ALL!!! _________________ ----------------------------
IBM MQ v6.0 Sys Admin
IBM MBv6.0 Sol Desgnr
----------------------------------------------------
By the Mountain Side.. looking at the Great Divide
---------------------------------------------------- |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|