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 » IBM MQ API Support » forking of messages

Post new topic  Reply to topic
 forking of messages « View previous topic :: View next topic » 
Author Message
mqwf
PostPosted: Tue Mar 21, 2006 4:31 am    Post subject: forking of messages Reply with quote

Acolyte

Joined: 10 Oct 2002
Posts: 62

Can someone help me....

When ever i get a message on local queue..i neeed to send it to 3 or more Xmitq

Local queue : A.local
XmitQ : B.Xmit, C.Xmit, D.Xmitq

When i get a message on A.local it has to be internally out on B.Xmit, C.Xmit and D.Xmit...

can someone help me with this
Back to top
View user's profile Send private message
jsware
PostPosted: Tue Mar 21, 2006 4:53 am    Post subject: Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

You kind-of cant put a message directly onto an xmitq. You can send a message to a queue on a remote qmgr and MQ resolves this to the xmitq, prefixing your message with an xmitq header structure containing the queue name and remote qmgr name.

Thus you need to write a program that does the following:
Code:

MQCONN
MQOPEN your local queue
MQOPEN queue on remote qmgr A
MQOPEN queue on remote qmgr B
MQOPEN queue on remote qmgr C
foreach successful MQGET (under syncpoint etc.) from your local queue.
  MQPUT to A
  MQPUT to B
  MQPUT to C
  MQCMIT
MQCLOSE all queues
MQDISC

_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
JT
PostPosted: Tue Mar 21, 2006 5:41 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Also, take a look at the concept of DistributionLists
Back to top
View user's profile Send private message
mqwf
PostPosted: Wed Mar 22, 2006 1:41 am    Post subject: forking messages Reply with quote

Acolyte

Joined: 10 Oct 2002
Posts: 62

tht link doesnt open
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Mar 22, 2006 2:31 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

then you are stuck forever!

maybe you can give me your phone number, and i will read it for you?

why are you guys not able to search for keyword?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Mar 22, 2006 3:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I just tried that link, it works for me.

If it still doesn't work for you, go here and search for "distribution lists" :
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jsware
PostPosted: Wed Mar 22, 2006 4:44 am    Post subject: Re: forking messages Reply with quote

Chevalier

Joined: 17 May 2001
Posts: 455

mqwf wrote:
tht link doesnt open

Works fine for me. Takes me to the IBM online documentation about distribution lists.

Perhaps your pop-up blocker is getting in the way.
_________________
Regards
John
The pain of low quaility far outlasts the joy of low price.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Mar 22, 2006 6:13 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
tht link doesnt open


It sure does but you have bigger problems than MQ if you don't know how to read manuals. The clue was given....take a look at distribution lists. I will give you another clue...Application Programming Guide.(Chapter 9).

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 » IBM MQ API Support » forking of messages
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.