ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Is there more than one MQSeries API?

Post new topic  Reply to topic
 Is there more than one MQSeries API? « View previous topic :: View next topic » 
Author Message
mpsmith19
PostPosted: Wed Aug 09, 2006 12:32 pm    Post subject: Is there more than one MQSeries API? Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 09, 2006 12:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
mpsmith19
PostPosted: Wed Aug 09, 2006 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 09, 2006 1:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
mpsmith19
PostPosted: Wed Aug 09, 2006 1:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 09, 2006 1:41 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Is there more than one MQSeries API?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.