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 API Support » C# Dynamic Reply Queue

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 C# Dynamic Reply Queue « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Fri Jul 28, 2006 6:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

My question was if there was a Server program that was supposed to be sending you a reply.

If there isn't, then you won't get a reply.

If there is, then maybe you're not waiting long enough for the reply to come in.

This is done by specifying a Wait Time on the Get. This will tell MQ to return from the Get either as soon as there is a message available, or at the end of the time specified whichever comes first.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Fri Jul 28, 2006 6:26 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

jefflowrey wrote:
My question was if there was a Server program that was supposed to be sending you a reply.

If there isn't, then you won't get a reply.

If there is, then maybe you're not waiting long enough for the reply to come in.

This is done by specifying a Wait Time on the Get. This will tell MQ to return from the Get either as soon as there is a message available, or at the end of the time specified whichever comes first.


upon talking to our MQ people the server should be sending a reply. I set the wait time to 30 seconds, which, if it takes longer than that I feel like is a different problem
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 28, 2006 6:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mikeco3181 wrote:
upon talking to our MQ people the server should be sending a reply. I set the wait time to 30 seconds, which, if it takes longer than that I feel like is a different problem


Yep. But you should also ask the MQ people to look for errors on the server, to make sure it can put the reply to your queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Fri Jul 28, 2006 6:29 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

jefflowrey wrote:
mikeco3181 wrote:
upon talking to our MQ people the server should be sending a reply. I set the wait time to 30 seconds, which, if it takes longer than that I feel like is a different problem


Yep. But you should also ask the MQ people to look for errors on the server, to make sure it can put the reply to your queue.


he showed me this earlier
Quote:
+CSQX500I +MQ CSQXRESP Channel Us.CLIENT started
+CSQX208E +MQ CSQXRESP Error receiving data, 442
channel Us.CLIENT
connection "my IP Address" ("my IP Address")
(queue manager ????)
TRPTYPE=TCP RC=00000461 reason=00000000
+CSQX599E +MQ CSQXRESP Channel Us.CLIENT ended abnormally
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 28, 2006 6:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

That seems to indicate that you can't make a client connection.

But your program should be getting an exception thrown from AccessQueueManager if that was the case.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
saketr
PostPosted: Fri Jul 28, 2006 6:51 am    Post subject: Tried XMS .NET? Reply with quote

Apprentice

Joined: 08 Feb 2006
Posts: 41

Hi,

I believe what you are trying to achieve is built into XMS .NET abstractions - see IBM.XMS.Requestor. A new version of XMS .NET has just been released. Please see http://www.mqseries.net/phpBB2/viewtopic.php?t=30968

Warm regards,
Saket
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Fri Jul 28, 2006 6:54 am    Post subject: Re: Tried XMS .NET? Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

saketr wrote:
Hi,

I believe what you are trying to achieve is built into XMS .NET abstractions - see IBM.XMS.Requestor. A new version of XMS .NET has just been released. Please see http://www.mqseries.net/phpBB2/viewtopic.php?t=30968

Warm regards,
Saket


thanks for the plug, but I've seen that before. I already have this application running...it seems like more than just an application issue here
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Fri Jul 28, 2006 7:51 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

should I be referencing this as a remote queue?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 28, 2006 7:53 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you connected to the same qmgr as the server application is?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Fri Jul 28, 2006 7:54 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

yeah...we only have one active QMgr
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 28, 2006 8:50 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Then you can only be writing to the same queue that the server app is reading from.

And you should not be thinking of it as a remote queue or a qremote becuase your application is directly connected to the qmgr it is on.

So the question is - is the server application failing to read your message, or failing to put your reply?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Fri Jul 28, 2006 8:54 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

jefflowrey wrote:
Then you can only be writing to the same queue that the server app is reading from.

And you should not be thinking of it as a remote queue or a qremote becuase your application is directly connected to the qmgr it is on.

So the question is - is the server application failing to read your message, or failing to put your reply?


That IS the question
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Mon Jul 31, 2006 10:59 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

so we're still at a stand still. It might be a server side issue, but we haven't been able to talk to the implementation group that's familiar with the .NET side of things yet.

I can't even run a simple check to see if MQ is available...huzzah!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 31, 2006 11:06 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Double check that your code isn't throwing an exceptions, and that there aren't any errors in the AMQERR01.LOG on your client machine. If not, then you know you're doing your part as best as you know.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mikeco3181
PostPosted: Tue Aug 01, 2006 5:30 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

so there was some talk that I might be missing a Message Descriptor?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » IBM MQ API Support » C# Dynamic Reply Queue
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.