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 Installation/Configuration Support » how to create a reply queue/model-dynamic Q's

Post new topic  Reply to topic
 how to create a reply queue/model-dynamic Q's « View previous topic :: View next topic » 
Author Message
mq_starter
PostPosted: Wed Feb 27, 2008 12:50 pm    Post subject: how to create a reply queue/model-dynamic Q's Reply with quote

Novice

Joined: 27 Feb 2008
Posts: 10

hello all,
i am a new MQ user, i am trying to get my hands dirty with MQ. i was playing with MQ v6.0 from windows paltform and i am albe to create local, remote, alias queues. but i have problem in understanding the creation of reply queues.
can some help me in understanding how i can create this queue and can give some light which scenarioes this queue will be used(if possible please give some practical scenarios).

it will be really helpfull if given step by step procedure on how i can create one from windows MQ Explorer.

the other queue i have problem is with
model/dynamic queue.

this might be basic question, but its a huge thing for me.

thanks

mq_starter.
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Feb 27, 2008 1:32 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Take a look at the amqsreq0.c sample. This program acts as a requester to a server and uses a model queue to dynamically build the reply queue that the server will use to send back the reply.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Vitor
PostPosted: Thu Feb 28, 2008 12:48 am    Post subject: Re: how to create a reply queue/model-dynamic Q's Reply with quote

Grand High Poobah

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

mq_starter wrote:
it will be really helpfull if given step by step procedure on how i can create one from windows MQ Explorer.


If you're defining a queue to accept replies, it's just a local queue.

mq_starter wrote:

the other queue i have problem is with
model/dynamic queue.


Model queues are created like any other, if that's how you're accepting replies.

mq_starter wrote:

this might be basic question, but its a huge thing for me.


You need to look at the suggested code sample & read the documentation (Intercommunication manual is a good place to start). Request / reply can be implemented in 2 ways: replies go to a local queue and are retrieved by correlation id, or a dynamic queue that serves a single application.

The one you use is entirely dependant on your needs and circumstances; there's no "right" way.

Though you will find many posts in here discussing the point.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mq_starter
PostPosted: Mon Mar 03, 2008 5:25 am    Post subject: Reply with quote

Novice

Joined: 27 Feb 2008
Posts: 10

hello, thanks for your replies.

i did go through the code that is mentioned.

please correct me if i my understanding is wrong.

it lloks like the reply Q is local queue, but at the same time it is remote queue for some other Qmanager whose application puts the meesage in it.

right...?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 03, 2008 5:56 am    Post subject: Reply with quote

Grand High Poobah

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

mq_starter wrote:
it lloks like the reply Q is local queue, but at the same time it is remote queue for some other Qmanager whose application puts the meesage in it.


Yes, though there may not be an actual remote queue on the other queue manager, depending on your design.

If you think about it, all local queues are remote queues to other queue managers, conceptually speaking.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mq_starter
PostPosted: Mon Mar 03, 2008 9:07 am    Post subject: Reply with quote

Novice

Joined: 27 Feb 2008
Posts: 10

thnak you very much
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Mar 11, 2008 8:54 am    Post subject: Reply with quote

Poobah

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

Bridfly:

A QModel is a template definition that sysadmins create so that application programmers can create a queue dynamically. The programmer opens the QModel name, and specifies the rule for how the resulting local queue is to be named. If the open is successful, a local queue is created with the attributes from the QModel definition, and the name of the dynamic queue is returned to the programmer.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » how to create a reply queue/model-dynamic Q's
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.