Topic
  • 1 reply
  • Latest Post - ‏2016-12-06T13:14:36Z by SupriyoDebnath
ManasaRamesh
ManasaRamesh
1 Post

Pinned topic How to exceute mqsi command in Compute / Java Compute Node in Message Flow

‏2016-11-22T21:44:35Z |

Dear MB Experts,

 

Requirement:  File will contain MQSI commands , Read the file and execute those MQSI commands in the message flow and get the response from the MQSI commands then send it to other service.

 

So how to execute/Run the MQSI commands in Message Flows(Compute Node/Java Compute Node)

 

Any kind of help would be greatly appreciated.. Thank you

 

 

Updated on 2016-11-23T17:19:31Z at 2016-11-23T17:19:31Z by ManasaRamesh
  • SupriyoDebnath
    SupriyoDebnath
    27 Posts

    Re: How to exceute mqsi command in Compute / Java Compute Node in Message Flow

    ‏2016-12-06T13:14:36Z  

    Hi Ramesh,

              If your requirement is to run MQSI commands based on input file content, then Message Broker is not the option according to me. I strongly recommend an ANT Script to do that. Still you can do it using JAVA Compute Node with below line of code

     

    Process p = Runtime.getRuntime().execute(MQSI_COMMANDS_FROM_FILE);