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 Discussion » general question

Post new topic  Reply to topic
 general question « View previous topic :: View next topic » 
Author Message
bath
PostPosted: Thu Dec 30, 2004 7:50 am    Post subject: general question Reply with quote

Apprentice

Joined: 23 Nov 2004
Posts: 29

Hello All,
I read the manual "Application programming guide" but much of things remained fuzzy.
could you give me explanations on this?
what I need is to write two applications which can send messages to each other.
So in my mQserver I define:
- One Queue Manager
- One queue
- One server connection channel
- One Client connection channel

My first application A should be able to send and receive messages from application B.
Message receive from B should be check and processed. If there are errors application A should send a report to application B and the message will be "resend" again with a high priority.

To do this Do I have to create in addition of what I defined higher:

a) a Dead letter queue in my QM?
b) define another queue for reply and report messages in my MQMD
structure?
if yes is each application must have a different reply and report
queue?
c) is the queue to put messages has to be different from the two
application?

any help shoul be greatly appreciated
thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 30, 2004 7:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What have you tried?

Have you created a queue manager? Have you defined the objects you list?

Did you try running your programs? Did you get errors?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bath
PostPosted: Thu Dec 30, 2004 8:06 am    Post subject: Reply with quote

Apprentice

Joined: 23 Nov 2004
Posts: 29

thanks ,
what I did until now :
-I created one queue manager, one queue, and one sever connection
channel and one server connection channel.

- i also write two c++ programs. I can send messages from
program A to program B.

now if i want to extend my program so that program B can send messages to program A. Do I have to use the same queue? or do i define another queue?
to handle errors messages do i have to create a dead letter queue in my QM and also define two others queues for reply messages?
thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 30, 2004 8:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What kind of messages are being exchanged? Is program A making a "request" of program B, and then program B is making a "reply"?

Or are the messages unrelated?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bath
PostPosted: Thu Dec 30, 2004 8:33 am    Post subject: Reply with quote

Apprentice

Joined: 23 Nov 2004
Posts: 29

thanks again,
messages are unrelated but notifiacation can be send for good reception of messages
thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 30, 2004 8:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If messages are logically unrelated, then they should logically not be in the same queue.

At least, in my opinion.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bath
PostPosted: Thu Dec 30, 2004 8:40 am    Post subject: Reply with quote

Apprentice

Joined: 23 Nov 2004
Posts: 29

many 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 » General Discussion » general question
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.