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 Java / JMS » Automatically moving message from queue to topic

Post new topic  Reply to topic
 Automatically moving message from queue to topic « View previous topic :: View next topic » 
Author Message
sbuster
PostPosted: Fri Oct 17, 2008 5:56 am    Post subject: Automatically moving message from queue to topic Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 25

I am using MQ 7 and have an application that is putting messages into a queue. I would like to have downstream systems be able to use pub/sub, which can't be done from queues. Is there a simple way to move the message from the queue into the topic? I would like to have this happen automatically by MQ infrastructure.

Thanks
Back to top
View user's profile Send private message
markt
PostPosted: Fri Oct 17, 2008 6:01 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Look at QALIAS, TARGTYPE(TOPIC)
Back to top
View user's profile Send private message
sbuster
PostPosted: Tue Oct 21, 2008 4:33 am    Post subject: Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 25

Thanks, this worked on a local MQ environment and it's exactly what I was looking for.

Now I would like to understand how to do this across two MQ Server instances? So application A submits message in Q on Server A, I want that message to show up on Topic B on Server B.
- Do these two servers need to be in a cluster?
- Do I use remote queue definition or remote alias ???

Thanks in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Oct 21, 2008 4:34 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You just need to connect the two qmgrs in a pub-sub network, and register a subscriber on QMGR B.
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 Java / JMS » Automatically moving message from queue to topic
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.