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 » General IBM MQ Support » Is it possible to clone an MQ Queue?

Post new topic  Reply to topic Goto page 1, 2  Next
 Is it possible to clone an MQ Queue? « View previous topic :: View next topic » 
Author Message
nonstopmark
PostPosted: Wed Aug 05, 2009 2:52 am    Post subject: Is it possible to clone an MQ Queue? Reply with quote

Newbie

Joined: 24 Nov 2008
Posts: 7

Is it possible to clone an MQ Queue? That is, can messages that appear on one MQ queue also be duplicated onto another queue which could then relay those messages somewhere else just by way of MQ configuration/administration set-up, e.g. a datawarehouse on Windows. If the message were a payment say, one queue would send to the next allocated payments platform on say, a z/OS IBM. The cloned queue (which contains exactly the same messages) would take the same duplicate payment and send it to a data warehouse or monitoring application. Thanks in advance for any help or input here.
_________________
Blog: https://mark-whitfield.com/home/purchase-buy-project-management-tracking-templates/
Website: https://mark-whitfield.com


Last edited by nonstopmark on Tue Aug 11, 2009 2:42 am; edited 1 time in total
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Aug 05, 2009 2:59 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

There is a sample exit provided by IBM that may help you achieve this. Cant remember exact details but it may help you.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 05, 2009 3:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

This should not be done using a message exit. This should be done using the functions of an ESB like routing. There is no problem routing the same message to multiple destinations.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
WMBDEV1
PostPosted: Wed Aug 05, 2009 3:08 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

fjb_saper wrote:
This should be done using the functions of an ESB like routing.


Assuming you have an ESB and that these messages pass through it!

I dont know that I agree that it should not be done with an exit, it is one possible way of doing it!

Although looking again at the post, it has lost of junk in the footer. Might be worth locking this thread!
Back to top
View user's profile Send private message
nonstopmark
PostPosted: Wed Aug 05, 2009 3:14 am    Post subject: Cloning? Reply with quote

Newbie

Joined: 24 Nov 2008
Posts: 7

Just a minute. That's no way to respond. This is a perfectly valid question and not SPAM???!!! Can anybody give me an answer that is full and insightful. I have posted this question on a number of other MQ forums. Lets see who comes up with the best response and I will post it here for enlightenment... don't just light a fire under my chair because another poster disagrees with you..... I am looking for a solution to this......
_________________
Blog: https://mark-whitfield.com/home/purchase-buy-project-management-tracking-templates/
Website: https://mark-whitfield.com
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 05, 2009 3:18 am    Post subject: Re: Is it possible to clone an MQ Queue? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

nonstopmark wrote:
Is it possible to clone an MQ Queue? That is, can messages that appear on one MQ queue also be duplicated onto another queue which could then relay those messages somewhere else just by way of MQ configuration/administration set-up, e.g. a datawarehouse on Windows. If the message were a payment say, one queue would send to the next allocated payments platform on say, a z/OS IBM. The cloned queue (which contains exactly the same messages) would take the same duplicate payment and send it to a data warehouse or monitoring application. Thanks in advance for any help or input here.

The function that is approached here is financial ergo pub/sub won't do because of confidentiality. But the function requested fits nicely into audit scenarios etc... The exact reason why you would want this to be handled on the ESB. You don't need to change any of the processing functions but with the correct BEPL you can route it to the data warehouse, to the approval workflow, etc...

What I am trying to say is that 'nonstopmark' is asking the wrong question and with his background he really should know better!

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Wed Aug 05, 2009 3:23 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Look at V7.0 and the capability it has in regard to setting up queues as publishers/subscribers, or look into the methods as suggested by others.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
nonstopmark
PostPosted: Wed Aug 05, 2009 4:55 am    Post subject: Cloning Reply with quote

Newbie

Joined: 24 Nov 2008
Posts: 7

I am somewhat intrigued by the fact that you know my background better than I do.... this forum really is quite amusing I must say? Maybe you should know better than second guess a situation from such a remote location.

I have already received a more comprehensive answer on another MQ forum thread while you guys just insult thread posters... what a place to hang out this is.... ?!

I was going to post the actual answer but this place is for time wasters.... please feel free to lock this thread.... and my profile.... I've got monitoring products to sell....... and with my background and record, that's never been a problem.....

Sorry to have wasted your time guys........
_________________
Blog: https://mark-whitfield.com/home/purchase-buy-project-management-tracking-templates/
Website: https://mark-whitfield.com
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 05, 2009 5:25 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Allow me to try and pour a little oil on the waters here...

Firstly, the large number of links in your tag line may have suggested to some that you were a possible spammer - it's one of their favourite tricks to get click-through's -and that's enough to put most people immediately on guard.

Secondly, if you are a commercial interest, and the information gleaned from the links, and the level of knowledge displayed there, has a mismatch with the question asked, i.e. link=we know the answer to world hunger and question=someone give me the answer to world hunger, again that may put people on the defensive.

There are an awful lot of '...do my work for me, do the needful...' questions (feel the parentheses) asked here, and that does tend to make people a bit wary when genuine questions are couched in nearly the same manner.

For the edification of the members, and their education, we would still appreciate you sharing the answer.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Aug 05, 2009 5:34 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

(Uh, oh. Someone got up on the wrong side of the bed this morning...)
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Aug 05, 2009 6:00 am    Post subject: Re: Cloning? Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

nonstopmark wrote:
Just a minute. That's no way to respond. This is a perfectly valid question and not SPAM???!!!


Apologies if I upset you. That really was not my intention. But when I saw your (rather long) footer which took up more screen real estate than question:

http://www.insidertech.co.uk
http://www.markwhitfield.net
_________________
http://www.paymenttracking.co.uk
http://www.hpnonstopsoftware.com
http://www.markwhitfield.net
MediaCityUK, Salford Quays, UK
http://www.mawhitfield.com/mcuk.htm

I thought you were trying to spam, I was duped by this previously and so was a little wary. No offence was meant and apologies if some was caused, but hopefully you can see why I was wary?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Aug 05, 2009 6:03 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

I seem to recall that quite a while ago someone spammed with a url for male-enhancement meds. Nobody complained about that!
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Aug 05, 2009 6:04 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

And I was taking it seriously. My first two lines were actually questions to fjb to try and generate more discussion.
Back to top
View user's profile Send private message
nonstopmark
PostPosted: Thu Aug 06, 2009 1:20 am    Post subject: The answers so far (abridged)... Reply with quote

Newbie

Joined: 24 Nov 2008
Posts: 7

WebSphere MQ Queues cannot be cloned or duplicated directly… so

Use the Version 7 Publish/Subscribe mechanism (not in older versions)

Use distribution lists where multiple queues are specified (not available on z/OS), this requires code changes to the putting application

Use an API exit for transparency (no code changes required)

Use the mirrorq API exit (not available on z/OS)

http://www-304.ibm.com/jct01005c/isv/tech/sampmq.html

Comments welcome... (happy to start a new leaf on this )
_________________
Blog: https://mark-whitfield.com/home/purchase-buy-project-management-tracking-templates/
Website: https://mark-whitfield.com
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Thu Aug 06, 2009 1:36 am    Post subject: Re: The answers so far (abridged)... Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

nonstopmark wrote:

Use the mirrorq API exit (not available on z/OS)


FWIW, this was the sample app I suggested in my first response to you
Glad to see you're back with us.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Is it possible to clone an MQ Queue?
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.