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 » [Solved] Highly confused - Please help

Post new topic  Reply to topic
 [Solved] Highly confused - Please help « View previous topic :: View next topic » 
Author Message
greenears
PostPosted: Fri Jul 25, 2003 8:05 am    Post subject: [Solved] Highly confused - Please help Reply with quote

Newbie

Joined: 12 Jun 2002
Posts: 6

My question is regarding pub/sub. I have read all the documentations available for pub/sub but had a basic question.

I have a publisher application that is publishing a message with a specific topic based on a business event.

I also register subscription through another subscriber application for the specific topic.

Once the subscriber application registers for a topic, can the application stop running.

Is there a way the subscriber application be started (like in a triggered application), when subscribed message comes to the subscriber queue. Because my application is truly event based and we plan to add multiple subscription applications waiting for different topics.

Is the above possible? Have I misunderstood something basic in pub sub concept?

Please help!
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Jul 25, 2003 8:54 am    Post subject: Reply with quote

Jedi

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

As long as the Queue you are receiving the Subscriptions on isn't a Dynamic Temporary Queue, then yes, you can do what you want.

Once the Subscription is registered, then the application doesn't have to stay active. In fact, you could even split the Registration and the handling of the Subscriptions into 2 programs.

Then, you would use Triggering on the queue where the Publications are delivered to 'fire off' your application whenever one arrived to process it.

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
greenears
PostPosted: Fri Jul 25, 2003 1:20 pm    Post subject: Thanks EddieA Reply with quote

Newbie

Joined: 12 Jun 2002
Posts: 6

Thanks so much. It helps me

So if I have two or more programs subscribing, I will create as many subscriber queues and trigger these programs.
Back to top
View user's profile Send private message
EddieA
PostPosted: Sat Jul 26, 2003 7:35 pm    Post subject: Reply with quote

Jedi

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

Yep. For each unique Subscription program, create a seperate Queue and Trigger the program when a message arrives.

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
rajmq
PostPosted: Mon Jul 28, 2003 9:57 pm    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi to all

Why don't use Single queue for multiple subscription.?? and run the common program which will read the message continously.
Can u give some more detail
1. is it JMS pub/sub or java with wmqi??


regards
raj
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 » [Solved] Highly confused - Please help
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.