Author |
Message |
Topic: MQCB for C#? |
samsam007
Replies: 0 Views: 2309
|
Forum: General IBM MQ Support Posted: Thu Dec 18, 2008 7:34 pm Subject: MQCB for C#? |
Hi,
Does anyone know how to use MQCB (callback) in C#?
I know C has MQCB API, but I can't find a reference in C#.
Thanks |
Topic: error in calling rcvexit |
samsam007
Replies: 11 Views: 24816
|
Forum: User Exits Posted: Thu Dec 18, 2008 3:01 pm Subject: error in calling rcvexit |
I really just need a simple example to get this demo working, then I can do the rest.
If you can't get my simple exit to work and that is the easy part then you will never get ... |
Topic: Dealing with fields in MQMD |
samsam007
Replies: 8 Views: 18618
|
Forum: User Exits Posted: Thu Dec 18, 2008 2:58 pm Subject: Re: Dealing with fields in MQMD |
I want to use a receive exit code at MQ server side to extract the ApplIdentityData field from the MQMD structure.
...
Can anyone clarify how to write to and read from the MQMD fields?
You don' ... |
Topic: Dealing with fields in MQMD |
samsam007
Replies: 8 Views: 18618
|
Forum: User Exits Posted: Wed Dec 17, 2008 7:34 pm Subject: Re: Dealing with fields in MQMD |
cannot simply do:
[code]strncpy(md.ApplIdentityData, "something" sizeof(md.ApplIdentityData));[/code]
You need to specify MQOO_SET_IDENTITY_CONTEXT on the MQOPEN API call ... |
Topic: Dealing with fields in MQMD |
samsam007
Replies: 8 Views: 18618
|
Forum: User Exits Posted: Tue Dec 16, 2008 10:17 pm Subject: Dealing with fields in MQMD |
Thank you for the clarification.
MQStart is a dummy entry point that WMQ searches for in any exit lib. You should not put code in the function.
Your own exit function should be exported using th ... |
Topic: Dealing with fields in MQMD |
samsam007
Replies: 8 Views: 18618
|
Forum: User Exits Posted: Tue Dec 16, 2008 9:51 pm Subject: Dealing with fields in MQMD |
I want to use a receive exit code at MQ server side to extract the ApplIdentityData field from the MQMD structure.
I have read through some code in the supportPac, it seems that I need to implement ... |
Topic: receiveExit for newbie |
samsam007
Replies: 3 Views: 11856
|
Forum: User Exits Posted: Tue Dec 16, 2008 4:30 pm Subject: receiveExit for newbie |
Here is how I solved the dll problem.
I have to export the function name from the dll program in order to make it callable by the MQ:
#if defined (WIN32)
__declspec (dllexport) void MQENTRY R ... |
Topic: receiveExit for newbie |
samsam007
Replies: 3 Views: 11856
|
Forum: User Exits Posted: Mon Dec 15, 2008 4:48 pm Subject: Error with dll. |
Hi,
I found the compiled dll has some missing libraries and errors.
Here is my further findings:
At the MQ server, I used cygwin command to check the linked libraries of the dll files, which ... |
Topic: receiveExit for newbie |
samsam007
Replies: 3 Views: 11856
|
Forum: User Exits Posted: Thu Dec 11, 2008 7:16 pm Subject: receiveExit for newbie |
Hi,
I wish this exit code is for a newbie whom want to implement their receive exit. It is copied from the mqchexit.c code. Since that code is *too complicated* and its compilation involved VisualA ... |
Topic: error in calling rcvexit |
samsam007
Replies: 11 Views: 24816
|
Forum: User Exits Posted: Thu Dec 11, 2008 4:48 pm Subject: error in calling rcvexit |
It is internal system, no need SSL.
SSL is too much trouble for an internal system, so you beat yourself up with this exit?
Yes, you may be right.
But this is the organisation preference ... |
Topic: error in calling rcvexit |
samsam007
Replies: 11 Views: 24816
|
Forum: User Exits Posted: Thu Dec 11, 2008 3:32 pm Subject: error in calling rcvexit |
Why not use SSL?
It is internal system, no need SSL.
We will implement SSL with external system. |
Topic: receive exit |
samsam007
Replies: 1 Views: 7822
|
Forum: User Exits Posted: Thu Dec 11, 2008 3:01 pm Subject: receive exit |
Hi,
Is there a simple/sample receive exit like the sample security exit written awhile ago?
http://www.mqseries.net/phpBB2/viewtopic.php?t=20523
Thanks |
Topic: error in calling rcvexit |
samsam007
Replies: 11 Views: 24816
|
Forum: User Exits Posted: Thu Dec 11, 2008 2:46 pm Subject: error in calling rcvexit |
I 'm really just using "trial-and-error" method to try to get the result.
This really is not such a good idea. Exits are an advanced topic in WMQ; even if you get it "working" ... |
Topic: error in calling rcvexit |
samsam007
Replies: 11 Views: 24816
|
Forum: User Exits Posted: Wed Dec 10, 2008 8:51 pm Subject: error in calling rcvexit |
Hi,
I changed the code and name of the program to reflect what it really do.
The rcvexit code is shown as below:
#include <stdio.h>
#include <stdlib.h>
#include <string.h> ... |
Topic: error in calling rcvexit |
samsam007
Replies: 11 Views: 24816
|
Forum: User Exits Posted: Wed Dec 10, 2008 2:39 pm Subject: error in calling rcvexit |
Hi,
I think this worth to be a different topic then a *msgext* topic.
With the rcvexit *code* in-placed in the server-connection channel in MQ (v7.0) server, the MQ server received a dll error.
... |