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 » Publish/subscribe + DQM

Post new topic  Reply to topic
 Publish/subscribe + DQM « View previous topic :: View next topic » 
Author Message
HenriqueS
PostPosted: Wed Sep 28, 2011 12:12 pm    Post subject: Publish/subscribe + DQM Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

Hello,

I have been reading about the Publish/Subscribe model, but I have not so far understand how this could interact with DQM messaging.

Lets say, I am a hub for N business partners, each one having 2 channels (sender/receiver), how would they subscribe to my topics?


Last edited by HenriqueS on Wed Sep 28, 2011 12:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 28, 2011 12:19 pm    Post subject: Re: Publish/subscribe + DQM Reply with quote

Grand High Poobah

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

HenriqueS wrote:
how would they subscribe to my topics?


The same way they'd subscribe to a topic if they were local.

Re-read this; I think you're looking for complexity that WMQ will deal with on your behalf.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Sep 28, 2011 1:31 pm    Post subject: Reply with quote

Poobah

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

Think of a topic as if it were a queue. You can MQPUT (publish) to a remote queue.
_________________
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
HenriqueS
PostPosted: Wed Sep 28, 2011 2:21 pm    Post subject: Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

About the DQM + Pub/Sub - is this a MQ 7.0 feature only? The MQPublish/Subscribe User’s Guide for MQ 6.0 is not very clear about it. We still have 6.0 here.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Sep 28, 2011 4:51 pm    Post subject: Reply with quote

Poobah

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

At WMQ v7, the pub/sub engine is now part of WMQ. Included is support from the WMQ v7 Explorer and the relevant MQSC commands.

Chapter 9 of http://www.redbooks.ibm.com/abstracts/sg247583.htm covers pub/sub in v7.

Pub/sub is very cool at v7.
_________________
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
HenriqueS
PostPosted: Mon Oct 03, 2011 4:08 pm    Post subject: Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

Thanks for the feedback folks.

Something else, would be a publish/subscribe architecture a good case for a auction/bidding system implementation?

I am doing some research on this. Is there any example around ?

I could use point-to-point messaging for it, and simulate broadcast messages for the bidders opening for an auction, wait for the proposals and communicate the results, but I thought on using a pub/sub scheme. Would be this advisable? Is there any constraints? There is any literature ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 03, 2011 7:51 pm    Post subject: Reply with quote

Grand High Poobah

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

HenriqueS wrote:
Thanks for the feedback folks.

Something else, would be a publish/subscribe architecture a good case for a auction/bidding system implementation?

I am doing some research on this. Is there any example around ?

I could use point-to-point messaging for it, and simulate broadcast messages for the bidders opening for an auction, wait for the proposals and communicate the results, but I thought on using a pub/sub scheme. Would be this advisable? Is there any constraints? There is any literature ?


Well depending on how secret you want to keep some info...
The auctioneer could publish all relevant information on the auctioned object, including the destination where to submit bids (queue). Bidders subscribe to the auctioneer's topic (feed).

If the destination for bids is a topic, a rogue subscriber might be able to take advantage and fix the auction.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
HenriqueS
PostPosted: Mon Oct 10, 2011 3:16 pm    Post subject: Reply with quote

Master

Joined: 22 Sep 2006
Posts: 235

Folks,

I have dealt with some basic samples with MQ 7 and yes, it seems simpler than MQ 6 PubSub. In fact I went back to MQ 6 documentation to make it work as a child to a MQ 7 broker, so far I got no success.

Are v.6 QMs able to subscribe to v. 7 topics?
There are no subscribe MQSC commands MQ 6?

(Our idea for our auction system is just to deliver info, start time and reports for bidders using PubSub. The biddings will come to us through normal P2P messaging.)
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Oct 10, 2011 11:17 pm    Post subject: Reply with quote

Grand High Poobah

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

HenriqueS wrote:
Folks,

I have dealt with some basic samples with MQ 7 and yes, it seems simpler than MQ 6 PubSub. In fact I went back to MQ 6 documentation to make it work as a child to a MQ 7 broker, so far I got no success.

Are v.6 QMs able to subscribe to v. 7 topics?
There are no subscribe MQSC commands MQ 6?

(Our idea for our auction system is just to deliver info, start time and reports for bidders using PubSub. The biddings will come to us through normal P2P messaging.)


The V6 subscribe command (like V7 through MQSC) can be done using RFHUtil(c)

You would have to use an RFH header for pub/sub.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Publish/subscribe + DQM
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.