|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can I kick off a message flow in a specific execution group? |
« View previous topic :: View next topic » |
Author |
Message
|
mmarq |
Posted: Wed Sep 25, 2002 6:05 am Post subject: Can I kick off a message flow in a specific execution group? |
|
|
Acolyte
Joined: 19 Sep 2002 Posts: 74 Location: Newton, MA
|
After I unit test, a group of QA folks will be testing various portions of unit tested message flows. More specifically,
Test Case 1: Primary Message Flow
Test Case 2: Primary Message Flow + Sub Message Flow A
Test Case 3: Primary Message Flow + Sub Message Flow B
Test Case 4: Primary Message Flow + Sub Message Flow A + Sub Message Flow 1
I set up a specific execution group for the QA folks but I'm wondering if I can also set up separate exec groups for the for each of the test cases and then they can kick off a specific test case.
Any ideas?
Thanks,
Melissa _________________ M Marquis |
|
Back to top |
|
 |
kirani |
Posted: Wed Sep 25, 2002 8:15 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Melissa,
You never assign Sub-flows to the broker, they get deployed automatically when you include them in main message flows and deploy main message flows to the broker... so you don't setup different execution groups for each test case. You could have only one EG for QA folks and assign your primary message flow to it.
Your test data should decide different paths in your message flows... so you should have different input messages to test different paths in your msg flow. For example,
<Data><RecType>1</RecType>....</Data> input message will route your message based on RecordType to sub-flow-A.
<Data><RecType>2</RecType>....</Data> input message will route your message based on RecordType to sub-flow-B.
... and so on ... _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
tchagan |
Posted: Wed Sep 25, 2002 8:15 am Post subject: |
|
|
 Apprentice
Joined: 10 Feb 2002 Posts: 31
|
You seem to be talking about different things here. An execution group is just a process (in unix) in which message flows run (as threads). In your scenario you appear to have one Primary message flow that has an MQInput node. In order to test your execution paths I'm presuming that different message formats will execute through different paths, in your case the Sub flows. There would be no isolation or benefit that I can see in assigning your Primary flow to different execution groups, the input messages would still come in through your single entry point that is the MQInput node.
If you wish to separate the various execution paths you would need to have separate MQInput nodes (basically separate MQ local queues) and then have a separate base message flow for each of the execution paths getting messages from the input queues.
In our organisation we do unit testing for each of the execution paths within a flow, in order to do this with multiple testers you could assign timeslots when a tester could test their particular set of messages/flows. Or if the output queues are different for each sub flow then there should be no problem as your tester will be looking at a separate exit point for their messages.
hope this helps
Terry |
|
Back to top |
|
 |
mmarq |
Posted: Wed Sep 25, 2002 8:21 am Post subject: Message flows and exec groups |
|
|
Acolyte
Joined: 19 Sep 2002 Posts: 74 Location: Newton, MA
|
Thanks very much for the replies! _________________ M Marquis |
|
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
|
|
|
|