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 » Invoke C or C++ application from Message Flow

Post new topic  Reply to topic
 Invoke C or C++ application from Message Flow « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Tue Jun 30, 2009 4:26 am    Post subject: Invoke C or C++ application from Message Flow Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

How do i invoke a legacy C or C++ application from my ESQL??? Can any one guide me on this???
Back to top
View user's profile Send private message Send e-mail
harish_td
PostPosted: Tue Jun 30, 2009 4:52 am    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Did you check this link?
http://www.mqseries.net/phpBB/viewtopic.php?p=156519&sid=405107bbe42afb70875336d517871638

Or did you find this support pac suitable for your requirement?
IA9Z: WebSphere Message Broker - Job Execution Node

Custom Nodes are another way like a lot of learned posters would say.
Back to top
View user's profile Send private message Yahoo Messenger
zpat
PostPosted: Tue Jun 30, 2009 5:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You should not use WMB as an application hosting platform. You should host the application somewhere else and invoke it by sending it a MQ message to which it responds with another MQ message.

If the application is not MQ enabled then code a wrapper for it so that it is (IBM provide a ready made .NET trigger monitor and other such).

WMB flows should be stateless (or near stateless).
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 30, 2009 6:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
You should not use WMB as an application hosting platform. You should host the application somewhere else and invoke it by sending it a MQ message to which it responds with another MQ message.

If the application is not MQ enabled then code a wrapper for it so that it is (IBM provide a ready made .NET trigger monitor and other such).

WMB flows should be stateless (or near stateless).



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kash3338
PostPosted: Tue Jun 30, 2009 9:28 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

zpat wrote:

WMB flows should be stateless (or near stateless).


Can you please elaborate on this???
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Jun 30, 2009 10:34 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

This means that they should not wait for other applications to do things during the flow.

E.g. a message flow that wanted to invoke another application would generate an output message to it and terminate the flow.

The response message would be processed in another message flow entirely, any state data would be carried in the message (or perhaps retrieved from a database).

This sort of approach makes the broker highly scaleable with high throughput. It also makes it decoupled and not dependent on the other application responding in a timely fashion.
Back to top
View user's profile Send private message
kash3338
PostPosted: Tue Jun 30, 2009 10:49 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

zpat wrote:
This means that they should not wait for other applications to do things during the flow.

E.g. a message flow that wanted to invoke another application would generate an output message to it and terminate the flow.

The response message would be processed in another message flow entirely, any state data would be carried in the message (or perhaps retrieved from a database).

This sort of approach makes the broker highly scaleable with high throughput. It also makes it decoupled and not dependent on the other application responding in a timely fashion.



Thanks for the elaborate explanation. So do yu mean to say the only way to do this is through MQ or a Wrapper????
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Jun 30, 2009 11:03 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

The best way, not the only way.

You can drive a racing car over rocks but I wouldn't recommend it.
Back to top
View user's profile Send private message
kash3338
PostPosted: Tue Jun 30, 2009 6:58 pm    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

zpat wrote:
The best way, not the only way.

You can drive a racing car over rocks but I wouldn't recommend it.


Thanks a lot. I agree that this is the best approch, but i just want to know the others ways of acheiving this. Just to know how it can be done.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Invoke C or C++ application from Message Flow
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.