|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Port-Communication with MQ |
« View previous topic :: View next topic » |
Author |
Message
|
frodo33 |
Posted: Fri Sep 09, 2005 3:33 am Post subject: Port-Communication with MQ |
|
|
Newbie
Joined: 07 Dec 2004 Posts: 9
|
Hi,
i was just thinking, what might be needed to bring up a communication with MQ from perhaps PHP or any other Interpreter based Language like it.
Where do i have to start. When i open a port to Mq's Listener at 1414, what is MQ awaiting at the port to start communication and answer to my requests.
Perhaps there is anybody who has done this before or has some inside information, how this port-communication is done.
In the docs there are only Infos how to do it with libraries and the mainstream programming Languages, but nothing can be found about setting up the initial communication.
Perhaps anybody can point me to some good docs or or sites with infos.
Cheers
Thorsten |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 09, 2005 3:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You have to use an MQ Client.
The TCP/IP or network level protocol of MQ is explicitly not documented outside of IBM, and it is an extremely bad idea to try and reverse engineer it yourself for production use.
Depending on the "interpreter based language" (this is a very bad term, by the way), you may need to use whatever facilities that language has to call "foreign functions" - code written in C or stored in shared libraries/dlls.
This is, for example, how the Perl interface works - it links against an c based XS binding that "translates" Perl calls into C calls. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
frodo33 |
Posted: Fri Sep 09, 2005 4:30 am Post subject: |
|
|
Newbie
Joined: 07 Dec 2004 Posts: 9
|
Thanks for this. I didn't intend to reverse engineer it. It was more of getting a quick win. Insert a call into a port and get an answer back!
But as you suggest, I will focus on the use of external libraries for my purposes.
Thorsten |
|
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
|
|
|
|