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 » Copy MQ messages to other Queues

Post new topic  Reply to topic
 Copy MQ messages to other Queues « View previous topic :: View next topic » 
Author Message
deepak_paul
PostPosted: Mon May 16, 2011 8:44 am    Post subject: Copy MQ messages to other Queues Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

All,

We have a requirement that we need to send copy of the message to Queue B whenever Queue A gets a message.

We already had a Message flow in Production() which was configured with Queue A as Input. Since this is a recommended temporary requirement, changing the existing Message flow in production is not highly recommended. Few options are,

1. Change the existing flow by adding Propagate or Flow order node in order to send a copy to Queue B.
2. Change the queue name in the existing flow with Queue C and Create another Message flow with Queue C and use Propagate or Flow order node to Queue B.
3. Not sure If we can do anything on the MQ side like defining Distribution List or Alias Queue to address this.

We would like to know which would be the best option with minimal changes on the existing system and with minimal cost involved.

Environment:
Message Broker: Z/Linux Message Broker 7.0
Message Queue: Z/Linux Message Queue 7.0

Thanks
Paul
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon May 16, 2011 8:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

A more simple solution:

Override the bar file to point input queue from queue A to queue B. Create a simple flow, MQInput (Queue A) -> two MQOutputs (Queue B & C).
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
deepak_paul
PostPosted: Mon May 16, 2011 1:21 pm    Post subject: Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

Thanks for the reply.

Any other options we can think of from MQ standpoint?

Does anybody know if Z/Linux Queue Manager supports MQ Distribution List?
_________________
Regards
Paul
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon May 16, 2011 3:04 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

deepak_paul wrote:
Thanks for the reply.

Any other options we can think of from MQ standpoint?

Does anybody know if Z/Linux Queue Manager supports MQ Distribution List?


An MQ Distribution List is an APPLICATION LEVEL OBJECT. IT IS NOT A QUEUE MANAGER OBJECT ON ANY PLATFORM.

Yes, distribution lists are supported on zLinux. You MUST MAKE APPLICATION CHANGES to use them.
Back to top
View user's profile Send private message
Esa
PostPosted: Tue May 17, 2011 3:26 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

deepak_paul wrote:
Thanks for the reply.

Any other options we can think of from MQ standpoint?


If you are using MQ7, you can change the sending application to put messages into an alias instead of a queue. Or if the application is putting messages to a remote queue, you can change the remote queue to point to an alias.

Then make a topic, change the alias to point to that topic and create two subsciptions.

If you need to preserve MQMD context fields, you will have to set up access control carefully so that the user id's that publish and subscibe have permission to pass context. Otherwise those fields get modified or dropped from the message headers.
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 » Copy MQ messages to other Queues
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.