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 » Copying messages when consumer is active

Post new topic  Reply to topic
 Copying messages when consumer is active « View previous topic :: View next topic » 
Author Message
jarun111
PostPosted: Fri Apr 04, 2008 8:21 am    Post subject: Copying messages when consumer is active Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Hi,
Is there any way(other than using exits and triggering) to copy message from parent queue to a child queue, when the consumer on the parent queue is active. We need all messages in the parent queue copied over and have a copy of the same for other purpose.

Let me know.

Thanks
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Apr 04, 2008 10:40 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Man, this requirement keeps coming up over and over. Meaning:

A. Its been discussed before, so if you search you can see all the solutions we've already discussed 74 times.

B. I wish IBM adds this functionality into the core product soon!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 04, 2008 2:43 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Including in your near-duplicate post!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jarun111
PostPosted: Tue Apr 08, 2008 5:46 am    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Hi Peter,
I was going through the site, I see only stuff using triggers/exits/3rd party tool that reads the logs. Sorry if I have missed something, can you let me know if there are any other way.

Thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 08, 2008 5:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

jarun111 wrote:
Can you let me know if there are any other way.


You got all the answers you're likely to get here:

http://www.mqseries.net/phpBB2/viewtopic.php?p=210819&highlight=#210819
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
manicminer
PostPosted: Tue Apr 08, 2008 6:34 am    Post subject: Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

Wait for MQ7, upgrade to MQ7 then do the following

1) Create 2 queues 'q1', 'q2'
2) Create 1 alias queue called 'dest': set this to a topic alias to topic 't1'
3) Create topic: 'mymagictopic' called 't1'
4) Create 2 subs for topic 't1', one pointing to 'q1', one to 'q2'
5) All messages now put to queue 'dest' will magically appear in both 'q1' and 'q2'

sorted

In MQSC:

Quote:
def ql('q1')
def ql('q2')
def qa('dest') target('t1') targtype(topic)
def topic('t1') topicstr('mymagictopic')
def sub('sub1') topicstr('mymagictopic') dest('q1')
def sub('sub2') topicstr('mymagictopic') dest('q2')


MQ7 is quite cool

edit: I know this doesn't really help, but it was a good opportunity to show this - sorry.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 08, 2008 6:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

manicminer wrote:
Wait for MQ7, upgrade to MQ7 then do the following


So after all these years, and all the promises, it really is fixed in the next version.....

(For those too young to remember, "it'll be fixed in the next version" used to be a staple cry from support desks everywhere)


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Apr 08, 2008 9:48 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Vitor wrote:
(For those too young to remember, "it'll be fixed in the next version" used to be a staple cry from support desks everywhere)

And still is, especially for Windoze based products.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 08, 2008 12:59 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

EddieA wrote:
Vitor wrote:
(For those too young to remember, "it'll be fixed in the next version" used to be a staple cry from support desks everywhere)

And still is, especially for Windoze based products.


Welcome my brother....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Apr 08, 2008 7:24 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I was thinking of this thread when they got to all the new MQ7 Pub Sub capabilities in today's session at Impact. Its sooo much easier to Pub Sub in MQ7.
_________________
Peter Potkay
Keep Calm and MQ On
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 » General IBM MQ Support » Copying messages when consumer is active
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.