Author |
Message
|
mpsmith19 |
Posted: Wed Aug 09, 2006 12:32 pm Post subject: Is there more than one MQSeries API? |
|
|
Novice
Joined: 02 May 2005 Posts: 20
|
At best I'm an MQSeries neophite, so please be kind
Working on a program that is going to send/receive messages to/from Websphere utilizating MQSeries. Was told today that it needs to work with both MQSeries "native" queues and MQSeries JMS queues. Since I've never heard of anything except MQSeries queue I'm at a loss. Are there different APIs? Or perhaps new functions added to the existing API? Any help would be appreciated. Sarcastic responses are also appreciated as I feel a fool having to ask something like this and hope someone is enjoying my befuddlement.
mpsmith |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 09, 2006 12:44 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
JMS is a different MQ API.
It talks to the same queues.
It sends and receives the same messages.
Except, by default, JMS will produce messages with an MQRFH2 header on them.
Now's a good time for you to read the WebSphere MQ "Using Java" manual. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mpsmith19 |
Posted: Wed Aug 09, 2006 12:55 pm Post subject: |
|
|
Novice
Joined: 02 May 2005 Posts: 20
|
jefflowrey wrote: |
JMS is a different MQ API.
Now's a good time for you to read the WebSphere MQ "Using Java" manual. |
Might be interesting. Since the program I'm working on is in ANSI C not Java. Do you know if there is a C API for the MQSeries JMS ? Better yet, where do I find it? Searching www.boulder.ibm.com now.
mpsmith |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 09, 2006 1:06 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There is the XMS support pack that will give you the same API.
JMS can read messages that are produced by normal MQ API programs.
Normal MQ API programs can read messages that are produced by JMS, as long as they either expect to get an MQRFH2 or the JMS program (the queue destination, actually) doesn't add an MQRFH2. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mpsmith19 |
Posted: Wed Aug 09, 2006 1:32 pm Post subject: |
|
|
Novice
Joined: 02 May 2005 Posts: 20
|
Jeff,
Just want to make sure I completely understand this before I start on a four week coding effort.
My program can use the normal MQ API to converse with a Websphere program that is using MQ JMS API as long as we agree on whether or not to use MQRFH2 headers?
Thank you very much for your time and your effort.
mpsmith |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 09, 2006 1:41 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|