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
 C# Dynamic Reply Queue « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Tue Aug 01, 2006 5:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Ah.

Probably they want you to set MQMD.MsgType=MQMT_REQUEST.
_________________
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 7:12 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

jefflowrey wrote:
Ah.

Probably they want you to set MQMD.MsgType=MQMT_REQUEST.


of course that doesn't work...I'm getting used to this
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 01, 2006 7:16 am    Post subject: Reply with quote

Grand High Poobah

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

Doesn't work because it's a member of a militant union, doesn't work because some error message/code is received or doesn't work because it's failed to achieve the desired result?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 01, 2006 7:29 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

of course that was pseudo-code and not actual code.


_________________
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 7:56 am    Post subject: Reply with quote

Novice

Joined: 27 Jul 2006
Posts: 17

finally got it.

MQMT_REQUEST was correct

I had to add MQPMO_NO_SYNCPOINT to the put message options. So I finally got a message back...it's just an error message.

Thanks for all the help everyone
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Aug 01, 2006 8:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You could have also added a COMMIT after your put instead of removing Syncpoint.

It's a typical problem with JMS, where the sender and receiver are using the same transaction.

That was going to be one of my guesses - that you weren't committing the Request before you tried to get the Reply - so the other side was never receiving the Request.

I didn't suggest it because your original code didn't mention syncpoint.
_________________
I am *not* the model of the modern major general.
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 Page 3 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.