{"id":327,"date":"2016-06-26T21:57:42","date_gmt":"2016-06-26T16:27:42","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=327"},"modified":"2016-06-26T21:57:42","modified_gmt":"2016-06-26T16:27:42","slug":"starting-stopping-message-flows-iib","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/06\/26\/starting-stopping-message-flows-iib\/","title":{"rendered":"Starting Stopping message flows IIB"},"content":{"rendered":"<p>Starting Stopping message flows IIB listed below for reference (considering <strong>IBM Integration Bus v9.0.0.0<\/strong>)<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Starting a message flow<\/strong><\/span><\/p>\n<p><strong>mqsistartmsgflow command<\/strong> can be used for the following purposes:<\/p>\n<p>To start a specific message flow in an integration server<br \/>\nTo start all message flows in the integration server<br \/>\nTo start a specific integration server<br \/>\nTo start all integration servers<br \/>\nTo start a message flow in a specific application or library or both<br \/>\nTo start all message flows in a specific application or library or both<br \/>\nTo start a specific application<br \/>\nTo start all applications<\/p>\n<p><strong>mqsistartmsgflow command usage<\/strong><\/p>\n<p>mqsistartmsgflow &lt;broker name&gt; &lt;attributes&gt;<\/p>\n<p>Where <strong>attributes<\/strong> are,<\/p>\n<p>-e integrationServerName<br \/>\nThe name of the integration server for which to start message flows. You must specify either -e or -g.<br \/>\n-g<br \/>\nThe specified message flow or flows are started on all integration servers on the specified broker. You must specify either -e or -g.<br \/>\n-j<br \/>\nAll message flows in the specified integration server are started.<br \/>\n-k applicationName<br \/>\nThe name of an application to which to target a start request.<br \/>\n-m flowName<br \/>\nThe name of the message flow being started.<br \/>\n-v traceFileName<br \/>\nThis parameter sends internal debug trace information to the specified file.<br \/>\n-w timeoutSecs<br \/>\nThis parameter specifies the time in seconds that the utility waits to ensure that the command completed; the default value is 60.<br \/>\n-y libraryName<br \/>\nThe name of a library to which to target a start request.<br \/>\n-z<br \/>\nThe -z parameter indicates that all applications in an integration server are to be started.<\/p>\n<p><strong>mqsistartmsgflow command examples<\/strong> (as mentioned in IBM Knowledge Center)<\/p>\n<p>Start a named message flow that you have deployed to integration server eg1 on the broker IB9NODE:<br \/>\nmqsistartmsgflow IB9NODE -e eg1 -m simpleflow<\/p>\n<p>Ensure that all message flows are running on the local broker IB9NODE:<br \/>\nmqsistartmsgflow IB9NODE -g -j<\/p>\n<p>Start the message flow myFlow1 in the application myApplication in the default integration server:<br \/>\nmqsistartmsgflow IB9NODE -e default -k myApplication -m myFlow1<\/p>\n<p>Start the message flow myFlow1 in the library myLibrary, which is referenced by the application myApplication, in the default integration server:<br \/>\nmqsistartmsgflow IB9NODE -e default -k myApplication -y myLibrary -m myFlow1<\/p>\n<p>Start all message flows and start all applications in the default integration server:<br \/>\nmqsistartmsgflow IB9NODE -e default -z -j<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Stopping a message flow<\/strong><\/span><\/p>\n<p><strong>mqsistopmsgflow command<\/strong> can be used for the following purposes:<\/p>\n<p>To stop a specific message flow in an integration server<br \/>\nTo stop all message flows in the integration server<br \/>\nTo stop a specific integration server<br \/>\nTo stop all integration servers<br \/>\nTo stop a message flow in a specific application or library or both<br \/>\nTo stop all message flows in a specific application or library or both<br \/>\nTo stop a specific application<br \/>\nTo stop all applications<\/p>\n<p><strong>mqsistopmsgflow command usage<\/strong><\/p>\n<p>mqsistopmsgflow &lt;broker name&gt; &lt;attributes&gt;<\/p>\n<p><strong>Attributes are,<\/strong><br \/>\n-e integrationServerName<br \/>\nThe name of the integration server for which to stop message flows. You must specify either -e or -g.<br \/>\n-f<br \/>\nUsed with the \u2013m, \u2013e, and \u2013k parameters to force the named message flow to stop within the named integration server or the named application.<br \/>\n-g<br \/>\nThe specified message flow or flows are stopped on all integration servers on the specified broker. You must specify either -e or -g.<br \/>\n-j<br \/>\nAll message flows in the specified integration server are stopped; the integration server is not stopped.<br \/>\n-k applicationName<br \/>\nThe name of an application to which to target a stop request.<br \/>\n-m flowName<br \/>\nThe name of the message flow being stopped.<br \/>\n-v traceFileName<br \/>\nThis parameter sends internal debug trace information to the specified file.<br \/>\n-w timeoutSecs<br \/>\nThis parameter specifies the time in seconds that the utility waits to ensure that the command completed; the default value is 60.<br \/>\n-y libraryName<br \/>\nThe name of a library to which to target a stop request.<br \/>\n-z<br \/>\nThe -z parameter indicates that all applications in an integration server are to be stopped.<\/p>\n<p><strong>mqsistopmsgflow command examples<\/strong><\/p>\n<p>Stop a named integration server on broker IB9NODE:<br \/>\nmqsistopmsgflow IB9NODE -e eg2<\/p>\n<p>Stop all integration server processes on the local broker IB9NODE:<br \/>\nmqsistopmsgflow IB9NODE -g<\/p>\n<p>Stop the message flow myFlow1 in the application myApplication in the default integration server:<br \/>\nmqsistopmsgflow IB9NODE -e default -k myApplication -m myFlow1<\/p>\n<p>Stop the message flow myFlow1 in the default integration server and restart the default integration server:<br \/>\nmqsistopmsgflow IB9NODE -e default -m myFlow1 -f restartExecutionGroup<\/p>\n<p>Stop the message flow myFlow1 in the library myLibrary, which is referenced by the application myApplication, in the default integration server:<br \/>\nmqsistopmsgflow IB9NODE -e default -k myApplication -y myLibrary -m myFlow1<\/p>\n<p>Stop all message flows and stop all applications in the default integration server:<br \/>\nmqsistopmsgflow IB9NODE -e default -z -j<\/p>\n<p>&nbsp;<\/p>\n<p>Message Flow related IIB v9.0 knowledge center link <span style=\"text-decoration: underline;\"><strong><a href=\"http:\/\/www.ibm.com\/support\/knowledgecenter\/SSMKHH_9.0.0\/com.ibm.etools.mft.doc\/be10120_.htm\" target=\"_blank\">here<\/a><\/strong><\/span> and Command reference <a href=\"http:\/\/www.ibm.com\/support\/knowledgecenter\/en\/SSMKHH_9.0.0\/com.ibm.etools.mft.doc\/an26100_.htm\" target=\"_blank\"><span style=\"text-decoration: underline;\"><strong>here<\/strong><\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starting Stopping message flows IIB listed below for reference (considering IBM Integration Bus v9.0.0.0) Starting a message flow mqsistartmsgflow command can be used for the following purposes: To start a specific message flow in an integration server To start all message flows in the integration server To start a specific integration server To start all [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[214,215,146,216,217,218],"class_list":["post-327","post","type-post","status-publish","format-standard","hentry","category-ibm-integration-bus","tag-broker","tag-eg","tag-iib-v9","tag-integration-node","tag-message-flow","tag-start-stop-message-flow"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=327"}],"version-history":[{"count":5,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/327\/revisions"}],"predecessor-version":[{"id":758,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/327\/revisions\/758"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}