Posted: Wed Oct 26, 2011 9:34 am Post subject: Making System Calls from the broker
Acolyte
Joined: 18 Feb 2005 Posts: 53
Hi All,
I have run into various scenarios where I need to get feedback from a script or binary execution to route the messages in the broker or pass the message payload to a system executable. Is it posible/allowed to call a system utility like gpg etc.. and pass it the message payload or get feedback from a system call to decide message routing?
CAn I use the java System call in the java compute node for this? anyone know of any illustrative exmples?
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
Yes, through Java system API from a JCN, you can call any executable and capture the output into a file, then scan the file for success fail indicators. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
I Like the job execution node and went through the associated documentation but can I actually pass it the message payload to act on and retreive the output message to use in the message flow? an example scenario is when I want to call a sytem level encryption routine....
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