web stats
Deploy channel from javascript - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 01-28-2020, 11:29 PM
Breme Breme is offline
OBX.1 Kenobi
Join Date: Mar 2012
Posts: 49
Breme is on a distinguished road
Question Deploy channel from javascript

Hi to all,
is possible deploy a channel from javascript?

I see this old post:

I add this code:
var controllerFactory = com.mirth.connect.server.controllers.DefaultContro llerFactory.getFactory();
var engineController = controllerFactory.createEngineController();

what is the method for deploy a channel?

Many thanks!!
Reply With Quote
Old 01-29-2020, 12:19 AM
odo odo is offline
OBX.3 Kenobi
Join Date: Feb 2017
Location: Luxembourg
Posts: 157
odo is on a distinguished road

You can simply use ChannelUtil

ChannelUtil.deployChannel(<Channel id or name>);
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 04:17 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation