|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Sample code for WebSphere MQ |
« View previous topic :: View next topic » |
Author |
Message
|
arvindram |
Posted: Fri Dec 04, 2009 9:32 am Post subject: Sample code for WebSphere MQ |
|
|
Newbie
Joined: 04 Dec 2009 Posts: 3
|
Newbie alert !!!
My company recently signed up for a 3rd party software to handle some administration functionality and now I have been asked to change our in-house application to communicate with this 3rd party software (it runs as a web service) via IBM WebSphere MQ. Unfortunately, our in-house application was developed using a 10 year old 4GL tool called Team Developer. It does however support ActiveX controls and so I was hoping to use the MQ Series Automation Classes for ActiveX that I found searching the web. Unfortunately, I have not been able to find some sample code anywhere (other than Hello World kind of samples). And furthermore, the link "Sample Code" in this forum (at the top near the search link) brings up a page that is invalid. Does anyone know where I can get some sample code that I can look at?
Thanks,
Aravind |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Dec 04, 2009 9:52 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Try searching Mr. Google. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
arvindram |
Posted: Fri Dec 04, 2009 9:59 am Post subject: |
|
|
Newbie
Joined: 04 Dec 2009 Posts: 3
|
I did. That's how I got here.  |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 04, 2009 10:54 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Download and install the MQ client.
You'll need that anyway.
It comes with sample code. |
|
Back to top |
|
 |
mvic |
Posted: Fri Dec 04, 2009 1:17 pm Post subject: Re: Sample code for WebSphere MQ |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
arvindram wrote: |
It does however support ActiveX controls and so I was hoping to use the MQ Series Automation Classes for ActiveX that I found searching the web. Unfortunately, I have not been able to find some sample code anywhere |
I know opinions can differ widely, but IMHO if you can get that code to call out to a DLL using C calling conventions then writing your new code in C in a DLL might be easiest.
Naturally you'd have to have C programming skills or have people on your team who could do that. But assuming for the moment that you can write good C code, you will find the richest set of MQ sample programs are available in the C language using MQ's C API.
Java is another alternative, but I don't imagine it will be so easy to cross into it from the environment you describe.
Others reading this may successfully be using MQ from COM (or ActiveX) on Windows and may be very happy doing so. When I tried, I had a difficult time of it. So if writing something new, then personally I would write in C.
... IMHO |
|
Back to top |
|
 |
arvindram |
Posted: Sat Dec 05, 2009 6:51 am Post subject: |
|
|
Newbie
Joined: 04 Dec 2009 Posts: 3
|
Thanks for the tips. I did install the MQ Client (but I guess I chose the compact option). I re-installed it with custom and chose all options and I got some sample codes. I was able to get the ActiveX object working with our MQ Server. So far so good. I will keep this site in mind if I have issues. Thanks again. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|