Publish Subscribe Concept in MQ
------------------------------------------------------------1) First of all create a QueueManager(QM1).
2) Runmqsc QueueManagerName(QM1)
3) Create Topic:
define topic(topic name) topicstr(topic string name)
4) Create Subscription:
define sub(Subscription name) topicstr(topic string name) destqmgr(destination Queue Manager Name) dest(Subscription Queue Name)
5) Test Publication:
amqspub TopicStringName DestinationQueueManagerName
No comments:
Post a Comment