Author |
Message
|
anandsitha |
Posted: Sun Sep 04, 2011 9:50 pm Post subject: How to Make MsgFlow as a Services |
|
|
Acolyte
Joined: 26 Jul 2011 Posts: 59
|
Hi-
FileInput --->Compute--->DbInsert
How to make this above MsgFlow as a Services. So that it can be reused by other Interfaces and services.
Regards
Sithanandam.V |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Sep 06, 2011 4:22 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Have you attended the IBM-supplied training class WM663? Your question is very basic operation of Broker. If you have not attended the training, why not? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Tue Sep 06, 2011 4:25 am Post subject: Re: How to Make MsgFlow as a Services |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
anandsitha wrote: |
How to make this above MsgFlow as a Services. So that it can be reused by other Interfaces and services. |
Assuming you mean "service" in terms of a Web Service, write a WSDL that describes the service you intend to provide, then use this WSDL to front the flow you describe in your post.
A similar if less formal result can be obtained if you use a queue instead of (or as well as) the file you describe and the other interfaces & services drop data into that. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 06, 2011 9:14 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Add other types of input node to the flow (they can all pass control to the same compute node).
Be aware that this does result in one instance of the flow running for each input node. |
|
Back to top |
|
 |
Archu |
Posted: Tue Sep 06, 2011 8:29 pm Post subject: |
|
|
Novice
Joined: 17 Jun 2011 Posts: 16
|
If you are using WMB 7 version, you can use FileRead node to read a file from file directory & can proceed as below
Input Node (sub flow) -> FileRead Node -> Compute Node -> DBInsert Node
If reruired, can add Output Node (Subflow ) to extend the same for further use. |
|
Back to top |
|
 |
|