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 » Is it possible to call any exe from ESQL?

Post new topic  Reply to topic
 Is it possible to call any exe from ESQL? « View previous topic :: View next topic » 
Author Message
sanketpatel
PostPosted: Wed Nov 08, 2006 2:32 am    Post subject: Is it possible to call any exe from ESQL? Reply with quote

Apprentice

Joined: 31 Oct 2006
Posts: 40

Is it possible to call an exe from esql....

its urgent.....

somebody help me?
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Nov 08, 2006 2:35 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

afaik No.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 08, 2006 2:37 am    Post subject: Reply with quote

Grand High Poobah

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

If you're using v6 (and I seem to remember from previous posts that you are) you can use custom Java jar files, but not an exe directly that I'm aware of.

I stand ready to be corrected obviously.

Perhaps if you told us more about your problem we could offer an alternative solution, rather than just telling you your proposed solution won't work...
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Wed Nov 08, 2006 3:00 am; edited 1 time in total
Back to top
View user's profile Send private message
Edde
PostPosted: Wed Nov 08, 2006 2:49 am    Post subject: Reply with quote

Acolyte

Joined: 01 Oct 2006
Posts: 67
Location: Moscow, Russia

We have a custom node to call external .exe, but it was written for broker v5.0.

I think it is possible to call .exe from Java Compute Node in v6, but i'm not sure.
Back to top
View user's profile Send private message
sanketpatel
PostPosted: Wed Nov 08, 2006 2:49 am    Post subject: Reply with quote

Apprentice

Joined: 31 Oct 2006
Posts: 40

i have some .net exe and .pl files which are there for master data updation.

and the condition is some value chanes in our local system and now that change i have configure in message broker and that will call .net exe and .pl files.

is it possible to achive this?
Back to top
View user's profile Send private message
PieterV
PostPosted: Wed Nov 08, 2006 2:57 am    Post subject: Reply with quote

Disciple

Joined: 04 Jan 2006
Posts: 164
Location: Belgium

i once used the java compute node to execute a script on unix.

it looked like this:

Code:

try
{
       Runtime.getRuntime().exec(command);
}
catch(Exception ioe)
{
         System.err.println("fault");
}
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 08, 2006 3:02 am    Post subject: Reply with quote

Grand High Poobah

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

Or you could get the flow to dump a message into a triggered queue and fire the external exes that way. Depends on how they fit into the flow.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sebastianhirt
PostPosted: Wed Nov 08, 2006 3:24 am    Post subject: Reply with quote

Yatiri

Joined: 07 Jun 2004
Posts: 620
Location: Germany

Vitor wrote:
Or you could get the flow to dump a message into a triggered queue and fire the external exes that way. Depends on how they fit into the flow.


That's what I thought about as well. But the Java Compute node seems to me to be the cuter solution.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 08, 2006 3:29 am    Post subject: Reply with quote

Grand High Poobah

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

sebastianhirt wrote:
Vitor wrote:
Or you could get the flow to dump a message into a triggered queue and fire the external exes that way. Depends on how they fit into the flow.


That's what I thought about as well. But the Java Compute node seems to me to be the cuter solution.


It certainly does keep it all in one box as it were. Does the node deal with the application error in this scenario, i.e. if the exe goes belly up is it thrown back to the flow in the normal way? And can you maintain transactional unit of work with this method?

("I don't know", "I don't care", "I've never tried it" are all acceptable answers - I'm just curious!)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 08, 2006 3:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I would say the triggered MQ approach is the more stable one for the broker... Enjoy
_________________
MQ & Broker admin
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 » Is it possible to call any exe from ESQL?
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.