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 » WebSphere Message Broker (ACE) Support » Calling a C program From WMQI2.1

Post new topic  Reply to topic
 Calling a C program From WMQI2.1 « View previous topic :: View next topic » 
Author Message
gnan
PostPosted: Wed Sep 06, 2006 6:27 pm    Post subject: Calling a C program From WMQI2.1 Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Thu Sep 07, 2006 12:16 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 07, 2006 2:18 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » Calling a C program From WMQI2.1
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.