|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Calling a C program From WMQI2.1 |
« View previous topic :: View next topic » |
Author |
Message
|
gnan |
Posted: Wed Sep 06, 2006 6:27 pm Post subject: Calling a C program From WMQI2.1 |
|
|
Newbie
Joined: 03 Apr 2006 Posts: 2
|
I have to call a C program from WMQI2.1. I have to pass few parameters from an incoming XML message to this C program and the output from that C program has to be mapped to Output XML message.
I think there is a possibility to build a Custom Node(in Java or C) and call an external program from that Custom Node. But in the documentation it is mentioned that Interfacing a C-Plugin to Java and wrappering in JNI is not supported because the broker internally initializes a JVM, which is not available for the plugin interface.
So developing a Custom Node in C is the only solution or is there any other way to do this? |
|
Back to top |
|
 |
mgk |
Posted: Thu Sep 07, 2006 12:16 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Hi,
A C custom node is probably the easiest way to do this.
PS Do you know 2.1 is about to go out of service?
Regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Sep 07, 2006 2:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
To be clearer, 2.1 goes out of service at the end of this month.
And, really, I don't think you need to bother with a custom plug-in at all.
Write a standard MQ program that acts as a server in a request/reply scenario and use aggregation to fetch the response and update the input message. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|