ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Adding a New Subscriber in Existing Message Flow

Post new topic  Reply to topic
 Adding a New Subscriber in Existing Message Flow « View previous topic :: View next topic » 
Author Message
aditya.aggarwal
PostPosted: Fri Dec 04, 2009 2:13 am    Post subject: Adding a New Subscriber in Existing Message Flow Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 04, 2009 2:42 am    Post subject: Reply with quote

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
View user's profile Send private message
aditya.aggarwal
PostPosted: Fri Dec 04, 2009 2:53 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Fri Dec 04, 2009 3:05 am    Post subject: Reply with quote

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
View user's profile Send private message
AkankshA
PostPosted: Fri Dec 04, 2009 3:58 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
student
PostPosted: Fri Dec 04, 2009 4:27 am    Post subject: Reply with quote

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
View user's profile Send private message
aditya.aggarwal
PostPosted: Fri Dec 04, 2009 5:05 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

Thanks to all...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Adding a New Subscriber in Existing Message Flow
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.