Author |
Message |
Topic: Converting a Windows client to use SSL hints. |
asincero
Replies: 5 Views: 4370
|
Forum: IBM MQ API Support Posted: Mon Nov 19, 2007 8:12 am Subject: Converting a Windows client to use SSL hints. |
Or set the SSL parameters in the client channel and use the resulting client table to connect.
Is that all there is to it? No additional configuration on the client side required?
Also, about m ... |
Topic: Converting a Windows client to use SSL hints. |
asincero
Replies: 5 Views: 4370
|
Forum: IBM MQ API Support Posted: Mon Nov 19, 2007 7:49 am Subject: Converting a Windows client to use SSL hints. |
I wrote a Windows client in C that I need to modify so that it talks to the MQ server over SSL. Either the information on how to do this is a little sketchy in the reference manuals or I'm ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Mon Oct 17, 2005 6:02 pm Subject: How to stop MQ from auto-commiting? |
non-persistant messages... well duh...
asincero, please try again with PERSISTENT messages and post your results.....
Sorry guys ... I got pulled away on another project today and couldn ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Sat Oct 15, 2005 1:48 pm Subject: How to stop MQ from auto-commiting? |
Did you try shutting down the queue manager at the point when my program gives you the "commit?" prompt? If so, is the message it just MQGET()'d still in the queue? Yes and Yes.
Ok ... I've just no ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Sat Oct 15, 2005 1:15 pm Subject: How to stop MQ from auto-commiting? |
Okay, I took your sample, bound it as a client program. I had a queue with seven messages on it, committed two off, shutdown the qmgr, restarted the qmgr and there were 5 left:
Did you try shutt ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Sat Oct 15, 2005 12:32 pm Subject: How to stop MQ from auto-commiting? |
Here's a sample program I wrote that exhibits the same problem:
---8<------------------8<------------------8<------------------8<------------------8<
#include <cmqc.h>
... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 5:38 pm Subject: How to stop MQ from auto-commiting? |
I'm sure that MQGET() is not failing however by the time I get to the MQCMIT() the queue manager has already gone away and thus that call would fail.So you see a non-zero return code from the MQCMIT? ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 11:36 am Subject: How to stop MQ from auto-commiting? |
MQ will not autocommit a message if its in a unit-of-work unless you explicity MQCMIT or MQDISC before the qmgr shuts down. If the qmgr goes away before you get to do the MQDISC, the unit-of-work is ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 11:27 am Subject: How to stop MQ from auto-commiting? |
Or, alternately, you can explicitly call MQBACK and then MQDISC if you get a 2161/2 (which I assume you are getting from your MQGET with wait)
No, because what happens is this:
1. Process A s ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 11:12 am Subject: How to stop MQ from auto-commiting? |
I'm assuming it has a typo, where it says "a global unit of work". What this page basically says is, unless you are using XA/2pcommit, then you can control the choice to auto-commit or auto-rollbac ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 10:53 am Subject: How to stop MQ from auto-commiting? |
I guess the answer to your question is, read the documentation to learn the explicit and implicit behavior of syncpoints for your particular platform and environment.
Which, since you didn't say, I ... |
Topic: MQPUT() still succeeds when queue manager is shutting down? |
asincero
Replies: 4 Views: 3121
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 10:51 am Subject: MQPUT() still succeeds when queue manager is shutting down? |
Well, you could leave a queue open for input with a Fail If Quiesecing option.
But likely that won't signal you any sooner.
As long as your app receives a successful return code from PUT, your j ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 10:44 am Subject: How to stop MQ from auto-commiting? |
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzal.doc/usesync.htm
So I guess the answer to my question is "no, there's no way to have it not auto-commit (or "im ... |
Topic: MQPUT() still succeeds when queue manager is shutting down? |
asincero
Replies: 4 Views: 3121
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 10:29 am Subject: MQPUT() still succeeds when queue manager is shutting down? |
I've noticed that if I shut down the queue manager with 'endmqm', one or two MQPUT()'s from a client will still return "success" before it notices that the queue manager is shutting down. Is there an ... |
Topic: How to stop MQ from auto-commiting? |
asincero
Replies: 23 Views: 13838
|
Forum: IBM MQ API Support Posted: Fri Oct 14, 2005 10:25 am Subject: How to stop MQ from auto-commiting? |
I'm doing an MQGET() with the MQGMO_SYNCPOINT option specified. If I do this MQGET(), and then shut down the queue manager via 'endmqm' before doing an MQCMIT(), I noticed that MQ effectively does an ... |