Author |
Message |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Mon Aug 24, 2009 2:50 am Subject: iMessageConsumer - how does one reply to the message |
Yes, sir. Originally my intention was to code to a topic, but wound up going with a queue and never updated my code. Sorry new folks. Those objects you see at the top of my function there ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 11:05 am Subject: iMessageConsumer - how does one reply to the message |
OK... I just wanted to come back and update this thread in case any other newb (like me) might stumble across this.
It took cracking the library open with .NET Reflector to understand what was happ ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 8:19 am Subject: iMessageConsumer - how does one reply to the message |
OK, Vitor.
I changed the function to wait indefinitely for a message. The resulting behavior was the same.
The client is catching the response, but the server hangs waiting for a response to it ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 8:08 am Subject: iMessageConsumer - how does one reply to the message |
What is the difference? Either way, don't I get a message that I need to reply to? |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 7:47 am Subject: iMessageConsumer - how does one reply to the message |
This function (above) is called by an exclusive timer that has a 100 millisecond interval, so if there is ever any error, all of the objects get destroyed and recreated 100 milliseconds later.
Do I ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 7:44 am Subject: iMessageConsumer - how does one reply to the message |
OK... well... second time is the charm.
It might help if I posted the code.
I tried something different this time... I took the original message I received, and just changed it into a reply mess ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 7:34 am Subject: iMessageConsumer - how does one reply to the message |
Thanks, Vitor.
Let me try your suggestion again, but I thought I did that, and the attempt to send the return message hung on the Windows Service side... of all things, waiting for a response. :- ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 7:26 am Subject: iMessageConsumer - how does one reply to the message |
Additional details:
after I have received the message in the Windows service, if I .Acknowledge it, I watch my "Open Output Count" in the queue go up by 1, as though it's starting to repl ... |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 7:21 am Subject: iMessageConsumer - how does one reply to the message |
Hopefully my name implied it, but I'm using the ia9h support pack in .NET for this project. |
Topic: iMessageConsumer - how does one reply to the message |
JeffTheDotNetGuy
Replies: 17 Views: 15004
|
Forum: IBM MQ API Support Posted: Fri Aug 21, 2009 7:17 am Subject: iMessageConsumer - how does one reply to the message |
I am missing something obvious (obviously).
I have created an application that posts messages to a queue, and I have a Windows service that uses the iMessageConsumer interface (and a call to .Recei ... |