|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to parse a swift message in WMB,urgent! |
« View previous topic :: View next topic » |
Author |
Message
|
andy_1984 |
Posted: Tue Feb 02, 2010 10:16 pm Post subject: How to parse a swift message in WMB,urgent! |
|
|
Newbie
Joined: 02 Feb 2010 Posts: 1
|
The source message is a swift format message,so have anyone experience about how to parse the message.From the WMB help document,I know that I should use MRM to parse it.But I dont know how to use it .So could you give me a sample.Thanks a lot! so urgent! |
|
Back to top |
|
 |
kimbert |
Posted: Wed Feb 03, 2010 2:29 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
SWIFT is a complex and difficult format to parse. There are various solutions:
a) model it yourself, using the sample in the Samples Gallery as a starting point.
b) purchase the SWIFT message sets from IBM
c) use the WTX node and purchase the SWIFT industry pack.
If it's only a single message type, a) might be possible. Otherwise, b) or c) would be the quickest solution. |
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 03, 2010 2:42 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Also depends what you want to do with the message.
For simple onward routing you could ignore the MRM, take the message in as a BLOB, cast as a string in a compute node and look inside the message for certain strings using the POS function.
As long as this sort of logic is kept simple it can be quite efficient. |
|
Back to top |
|
 |
kimbert |
Posted: Wed Feb 03, 2010 3:32 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Quote: |
As long as this sort of logic is kept simple it can be quite efficient. |
Just being cautious really...it's only safe if the person doing it understands the message format. The danger is that you *could* end up with something quite efficient, but also quite incorrect. |
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 03, 2010 5:14 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If you just want to send certain MT types to one system or another then it's simple ESQL.
Anyway that's the way I have seen it done even though the developer did also have access to the IBM Swift FIN message set.
If you actually want to access the data values within a message for any business logic purpose I would recommend purchasing the message sets. |
|
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
|
|
|
|