Author |
Message
|
nonstopmark |
Posted: Wed Aug 05, 2009 2:52 am Post subject: Is it possible to clone an MQ Queue? |
|
|
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 |
|
 |
WMBDEV1 |
Posted: Wed Aug 05, 2009 2:59 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Aug 05, 2009 3:05 am Post subject: |
|
|
 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 |
|
 |
WMBDEV1 |
Posted: Wed Aug 05, 2009 3:08 am Post subject: |
|
|
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 |
|
 |
nonstopmark |
Posted: Wed Aug 05, 2009 3:14 am Post subject: Cloning? |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Aug 05, 2009 3:18 am Post subject: Re: Is it possible to clone an MQ Queue? |
|
|
 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 |
|
 |
exerk |
Posted: Wed Aug 05, 2009 3:23 am Post subject: |
|
|
 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 |
|
 |
nonstopmark |
Posted: Wed Aug 05, 2009 4:55 am Post subject: Cloning |
|
|
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 |
|
 |
exerk |
Posted: Wed Aug 05, 2009 5:25 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Wed Aug 05, 2009 5:34 am Post subject: |
|
|
 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 |
|
 |
WMBDEV1 |
Posted: Wed Aug 05, 2009 6:00 am Post subject: Re: Cloning? |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Aug 05, 2009 6:03 am Post subject: |
|
|
 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 |
|
 |
WMBDEV1 |
Posted: Wed Aug 05, 2009 6:04 am Post subject: |
|
|
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 |
|
 |
nonstopmark |
Posted: Thu Aug 06, 2009 1:20 am Post subject: The answers so far (abridged)... |
|
|
Newbie
Joined: 24 Nov 2008 Posts: 7
|
|
Back to top |
|
 |
WMBDEV1 |
Posted: Thu Aug 06, 2009 1:36 am Post subject: Re: The answers so far (abridged)... |
|
|
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 |
|
 |
|