Hi can you please help me out here is my scenario:
General Process:
Im tryin to set the message ID upon put() request send it to a RequestQueue there an API (Application Plug-In)will handle the XML message and it will generate the response message and send it to a ResponseQueue.
After the ResponseMessage was sent I will try to get it from the ResponseQueue by setting the correlation id upon get() response.
How can I do this using VB6.
Problems that I encountered:
1. The messageID that I want to set has 18 characters like 200709061212121111 which was generated by my referrence factory. the problem is that I was told that the messageID can only accept string * 24 or a 24byte is there a way I can convert the referrence number to that equivalent?
Can you please show me a sample code in VB6.
2. If the above mentioned problem can be solve, Is the converted referrence number the same thing I will be using to set the correlationID?
Can you please show me a sample code in VB6 for this too.
This is a very basic set of questions, and indicates that you don't have a lot of experience with any kind of programming at all.
Searching for sample code on the internet is the single most valuable skill you can possibly have if you are going to be paid to write code - much less to be a programmer.
If you do not already know how to do this, you should spend time learning it first.
It is also considered a bad idea to set the message ID at all. You should read the Application Programming Guide and Application Programming Reference to find out how to tell WebSphere MQ how to generate a new message ID for you. Then figure out how to capture that ID after the PUT, and then set it on the correlation ID when you do the GET. _________________ I am *not* the model of the modern major general.
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