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 » Moving a MQ message from one local queue to another

Post new topic  Reply to topic
 Moving a MQ message from one local queue to another « View previous topic :: View next topic » 
Author Message
WMBEAI
PostPosted: Tue Oct 27, 2009 7:41 pm    Post subject: Moving a MQ message from one local queue to another Reply with quote

Acolyte

Joined: 02 Mar 2009
Posts: 66

Hi,

I have a requirement like an application drops messages to a queue called In,i need to move the message or copy the message to a queue called Out.I dont want to us any message flow for it.Can this be done by in a MQ configuration level.

Thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Oct 27, 2009 10:00 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

write your own code for that

search this forum

search for support pacs too

its been discussed here...
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Wed Oct 28, 2009 12:31 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

Why dont you create the In Queue as an alias to the Out Queue?
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Wed Oct 28, 2009 6:40 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

WMBEAI wrote:
i need to move the message or copy


Moving and having a copy is two different things.

If the app wants to write the same msg to both In & Out queues, then they should write the msg 2 times..one to In and the other to Out queue or use DistributionList inside the app to send the same msg to both In and Out.

There is no mechanism in MQ to move the msgs from one queue to the other(if both local queues are defined on the same QMgr)
Back to top
View user's profile Send private message
John89011
PostPosted: Wed Oct 28, 2009 8:21 am    Post subject: Reply with quote

Voyager

Joined: 15 Apr 2009
Posts: 94

You can also use qload to move/copy messages among queues. You could write a little script and place in in the cron.

Here's a link to the support pac

http://www-01.ibm.com/support/docview.wss?uid=swg24009368
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 28, 2009 8:26 am    Post subject: Reply with quote

Grand High Poobah

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

John89011 wrote:
You can also use qload to move/copy messages among queues. You could write a little script and place in in the cron.


Does kind of rely on the message sitting whereever it's sitting long enough for the cron job to run.

There is of course the infamous mirrorq exit for this sort of thing. I don't repeat the caveats & warnings here as any search will turn them up.

I did notice a post recently about a commercial equivalent to mirrorq which gets round the "it's a sample" & "it's on you if it fails" issues. I could find the post but my enthusiasm has leached away.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 28, 2009 8:28 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
I did notice a post recently about a commercial equivalent to mirrorq which gets round the "it's a sample" & "it's on you if it fails" issues. I could find the post but my enthusiasm has leached away.....


Gathered a little puddle of ehthusiasm together:

http://www.mqseries.net/phpBB2/viewtopic.php?t=51319&start=15
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
John89011
PostPosted: Wed Oct 28, 2009 8:31 am    Post subject: Reply with quote

Voyager

Joined: 15 Apr 2009
Posts: 94

Yea.. there's also a banner of the product on the bottom of the page no?
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Oct 28, 2009 8:49 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

John89011 wrote:
Yea.. there's also a banner of the product on the bottom of the page no?

Maybe. The banner ad changes with every page view.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Oct 28, 2009 8:49 am    Post subject: Reply with quote

Grand High Poobah

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

John89011 wrote:
Yea.. there's also a banner of the product on the bottom of the page no?


I see different banners. But yes, I understand you to be correct in that.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Moving a MQ message from one local queue to another
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.