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 » Pub/sub tutorial

Post new topic  Reply to topic
 Pub/sub tutorial « View previous topic :: View next topic » 
Author Message
deeps1281
PostPosted: Wed Mar 01, 2006 8:54 pm    Post subject: Pub/sub tutorial Reply with quote

Apprentice

Joined: 31 Aug 2005
Posts: 29

Hi
Can some one suggest a simple tutorial from where i can practice some basic pub/sub activity.

Thanks
Back to top
View user's profile Send private message
ashley5
PostPosted: Wed Mar 01, 2006 11:47 pm    Post subject: Reply with quote

Novice

Joined: 20 Feb 2006
Posts: 14

Here is one that IBM provides....
http://www.redbooks.ibm.com/abstracts/SG246282.html?Open
Although I suppose it's more of an overview than a simple tutorial.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Mar 02, 2006 2:18 am    Post subject: Re: Pub/sub tutorial Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

deeps1281 wrote:
Can some one suggest a simple tutorial from where i can practice some basic pub/sub activity.

If you want to use JMS:
1. Read the relevant sections of the MQ Using Java manual. 2. Also skim the first several sections of the MQ Publish/subscribe manual.

If you want to use C programs:
1. take an hour or two (really, that's all it will take) to read the first several sections of the MQ Publish/Subscribe manual - don't read all the reference material in there, you can come back to that another time. 2. use the supplied Publish/subscribe sample programs to teach yourself by example.

Enjoy
Back to top
View user's profile Send private message
hura
PostPosted: Fri Mar 03, 2006 10:49 am    Post subject: Java non-JMS publisher/subscriber Sample programs Reply with quote

Newbie

Joined: 03 Mar 2006
Posts: 2

Hi,
I am new to WebSphere MQ. Have to work with publish subscribe without using JMS because the subscriber aplication is non-java. Any pointers to non-JMS publisher/subscriber sample programs would greatly help. There are many JMS publish/subscribe programs but could not find programs with MQ Base Java.

I have read that all the published messages go to SYSTEM.BROKER.DEFAULT.STREAM queue and all the subscription requests go to SYSTEM.BROKER.CONTROL.QUEUE.
Does it mean publisher program registers with SYSTEM.BROKER.DEFAULT.STREAM and subscriber program with SYSTEM.BROKER.CONTROL.QUEUE?.

And also, I want to know what broker will do when we specify ''replyToQ' field that can be specified with these system queues.
_________________
regards,
hura
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 03, 2006 11:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Just use JMS and indicate that the targClient is MQ.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Mar 03, 2006 12:22 pm    Post subject: Reply with quote

Grand High Poobah

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

Jeff that won't work for the subscribe and publish commands.
The broker relies on the RFH header for informations on the publication/subscription.

Better use the XMS support pack if you cannot use Java JMS.

Jeff's tip works like a charm for point to point though and I use it all the time...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
james2005
PostPosted: Tue Mar 07, 2006 9:38 pm    Post subject: Re: Pub/sub tutorial Reply with quote

Apprentice

Joined: 18 Sep 2005
Posts: 31

Hi try this redbook,
http://www.redbooks.ibm.com/abstracts/sg246088.html?OpenRegards






deeps1281 wrote:
Hi
Can some one suggest a simple tutorial from where i can practice some basic pub/sub activity.

Thanks
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 » Pub/sub tutorial
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.