Author |
Message
|
aditya.aggarwal |
Posted: Fri Dec 04, 2009 2:13 am Post subject: Adding a New Subscriber in Existing Message Flow |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
Hi,
We need to add a new subscriber for a existing message flow. I believe that this can be achieved by adding a new MQoutput node in the message flow?
will there be any other change required to achieve this?
Does the below steps to achieve this are correct?
Step 1: Stop Message Flow
Step 2: Open the .msgflow file and edit it to add new MQ output node for new subscriber. Save it.
Step 3: rebuild the .bar file.
Step 4: Cancel Deployment of the previous version of Messageflow using mqsideploy -c .....
Step 5: Deploy new version of bar file to broker EG.
Step 6: Start the Message flow..
Cheers,
Aditya |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Dec 04, 2009 2:42 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I'm slightly confused as to what you are trying to do.
Do you want to add another destination for the output message? This is not what most people here think of as a 'subscriber'.
Then as regards the steps you outline for the update...
Your Step 4 is not needed at all. Deploying a new version of the same flow to the same broker and to the same EG will just replace the old version.
Cancelling a deployment just stops any deploys in progress at that time.
You don't have to stop a flow. You can as certain conditions may require but in general you don't need to do this. You might need to do this if you want the new recipient of messages to get them 'from now'
You can do any flow editing while the currently running flow is processing.
Methinks you need some formal training here. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Fri Dec 04, 2009 2:53 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
Thanks smdavies99..
Quote: |
Do you want to add another destination for the output message? This is not what most people here think of as a 'subscriber'. |
Yes i need to add another desitantion for the o/p messages.
Quote: |
You don't have to stop a flow. You can as certain conditions may require but in general you don't need to do this. You might need to do this if you want the new recipient of messages to get them 'from now' |
Yes we want the new recipient of messages to get them 'from now'. So we need to stop the message flow. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Dec 04, 2009 3:05 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
aditya.aggarwal wrote: |
Yes we want the new recipient of messages to get them 'from now'. So we need to stop the message flow. |
You could just delete the original flow from the broker. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
AkankshA |
Posted: Fri Dec 04, 2009 3:58 am Post subject: |
|
|
 Grand Master
Joined: 12 Jan 2006 Posts: 1494 Location: Singapore
|
step 4 is not required....
you can simply deploy the new bar...
also you need to keep in mind that how do you want your message to behave in case one destination is not able to receive the message.... should the entire transaction rolled back or should only one fail _________________ Cheers |
|
Back to top |
|
 |
student |
Posted: Fri Dec 04, 2009 4:27 am Post subject: |
|
|
 Apprentice
Joined: 17 Mar 2009 Posts: 31 Location: UK
|
Just a suggestion, Adding of mq output node for each new subcriber is considered to be a poor design. This might be necessity in your case.. if not try using MQ destination list feature. |
|
Back to top |
|
 |
aditya.aggarwal |
Posted: Fri Dec 04, 2009 5:05 am Post subject: |
|
|
 Master
Joined: 13 Jan 2009 Posts: 252
|
|
Back to top |
|
 |
|