Mirth

  •  
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
The controlExecutor in Channel now has its core thread count set to 0 so that the control thread will be disposed after no start/stop/deploy/etc tasks have been started in 60 seconds. Before, every ch…
The controlExecutor in Channel now has its core thread count set to 0 so that the control thread will be disposed after no start/stop/deploy/etc tasks have been started in 60 seconds. Before, every channel's control thread would be alive the entire time the channel is deployed, which is an obvious waste of resources.

The destinationConnectorExecutor and recoveryExecutor in Channel have been combined into channelExecutor as there was no need for RecoveryTask to use its own executor.

The queueExecutor in Channel has been removed and we now create the thread on our own. The queue thread is simple enough that there is no reason to use an executor service.

The executor used in VmDispatcher if response timeout is not 0 is now created on deploy instead of on start. This way it can be shutdown on undeploy. It is also using a cached thread pool now to allow threads to be disposed when they are not currently in use. Without this, a thread could be alive even if the channel was stopped and would not be disposed until the channel was undeployed.

VmRouter now uses a static cached thread pool instead of creating a new single thread executor each time a message is routed. This could have caused excessive garbage collecting when many messages are being routed in a short timespan.

WebServiceConnectorService now uses a static cached thread pool instead of creating a new single thread executor each time importWsdlInterface is called. This allows threads to be reused and cuts the overhead of creating a new executor each time.

DataPruner is now creating threads directly instead of creating a new single thread executor each time a prune job is started. It was not making use of any ExecutorService specific features. This also eliminates any of the overhead shortens the amount of time that the thread remains alive.

AlertWorker's actionExecutor now has its core thread count set to 0 so that the action thread will be disposed after no actions have been taken for 60 seconds. Otherwise each AlertWorker could be leaving an additional thread alive even if it had not seen any action for a long time.

Fixed bug in EventListener where the workerThread would not be disposed when the listener is shutdown.

The status updater executor is shutdown when logging out.

Issue: MIRTH-2659

MIRTH-2608: Removed debug line from migrateWebServiceSenderProperties.
MIRTH-2608: Removed debug line from migrateWebServiceSenderProperties.
Commented out test code for the MessageExportPanel/Dialog since we don't want it in our production releases.…
Commented out test code for the MessageExportPanel/Dialog since we don't want it in our production releases.

Issue: MIRTH-1699

Moved JavaScriptExecutor methods and variables to JavaScriptUtil and made them static.…
Moved JavaScriptExecutor methods and variables to JavaScriptUtil and made them static.

Removed JavaScriptExecutor and all previous constructed instances. They now reference the method statically.

Now all executions of JavaScriptTasks go through the one executor in JavaScriptUtil. Connectors, filter and response transformers no longer need to have their own local JavaScriptExecutor.

The executor service now uses a CachedThreadPool so multiple scripts can be run simultaneously for the executor. This fixes a bug where all deploy, shutdown, preprocessor, postprocessor scripts would block one another.

Moved JavaSciptUtil and JavaScriptScopeUtil from com.mirth.connect.server.util to com.mirth.connect.server.util.javascript. Now all the javascript helper classes are in the same package.

Issue: MIRTH-2658

  1. … 6 more files in changeset.
MIRTH-1599: Removed the Entities class since it is no longer used.
MIRTH-1599: Removed the Entities class since it is no longer used.
Added the ability to specify a Migrator class for plugins, which is invoked on startup to run any migration code for the plugin.…
Added the ability to specify a Migrator class for plugins, which is invoked on startup to run any migration code for the plugin.

Added the ability to migrate private connectors to 3.0.0 by using reflection to look for a 'migrate3_0_0' method on the connector properties class in the private connector plugin. Made several of the utility methods in ImportConverter3_0_0 public so that private connectors can use them in their migration code.

Renamed DatabaseSchemaMigrationException to MigrationException

Renamed the previous ServerMigrator class to 'Migrator'.

Moved code in DefaultMigrationController that performs the schema initialization and migration into a new ServerMigrator class that extends the Migrator abstract class. This was done so that the core server migration will follow the same pattern as plugins that define a single Migrator class that manages the schema version and runs the appropriate migration code.

Issue: MIRTH-2647

  1. … 3 more files in changeset.
Remove outdated Message Browser operations.…
Remove outdated Message Browser operations.

Issue: MIRTH-2657

MIRTH-2647: Modified SqlConfig to use MyBatis mapper elements rather than iBATIS sqlMap elements for plugin configurations.
MIRTH-2647: Modified SqlConfig to use MyBatis mapper elements rather than iBATIS sqlMap elements for plugin configurations.
Synchronized updateChannel and removeChannel in DefaultChannelController to ensure that the channel cache and database can never have different versions of a channel at the same time.…
Synchronized updateChannel and removeChannel in DefaultChannelController to ensure that the channel cache and database can never have different versions of a channel at the same time.

Issue: MIRTH-2642

MIRTH-2363: Added a logger statement and TODO to the deprecated ACKGenerator method.
MIRTH-2363: Added a logger statement and TODO to the deprecated ACKGenerator method.
MIRTH-2279: Added logger statements and TODOs to the deprecated ResponseFactory methods.
MIRTH-2279: Added logger statements and TODOs to the deprecated ResponseFactory methods.
The message and event browsers no longer attempt to perform a search if their filters fail to generate.…
The message and event browsers no longer attempt to perform a search if their filters fail to generate.

Issue: MIRTH-2656

Removed deprecated method in DestinationConnector.…
Removed deprecated method in DestinationConnector.

Issue: MIRTH-1599

Removed methods that have been deprecated since 2.0.0 in ChannelController and Entities.…
Removed methods that have been deprecated since 2.0.0 in ChannelController and Entities.

Issue: MIRTH-1599

MIRTH-2516: Removed the Raw <-> XML data type conversion templates.
MIRTH-2516: Removed the Raw <-> XML data type conversion templates.
MIRTH-2479: Updated the default Channel Writer timeout to 0 ms, indicating that by default, the dispatcher will not spawn a new thread and wait on it.
MIRTH-2479: Updated the default Channel Writer timeout to 0 ms, indicating that by default, the dispatcher will not spawn a new thread and wait on it.
MIRTH-2250: Fixed incorrect error constant reference in HttpDispatcher.
MIRTH-2250: Fixed incorrect error constant reference in HttpDispatcher.
MIRTH-2110: Fixed bug that caused disabled extensions with SQL mapper files to throw classloader exceptions.
MIRTH-2110: Fixed bug that caused disabled extensions with SQL mapper files to throw classloader exceptions.
MIRTH-2107: Modified the extension controller so that incompatible plugins aren't added to the metadata map.
MIRTH-2107: Modified the extension controller so that incompatible plugins aren't added to the metadata map.
Changed the way the data pruner uses the block size setting when pruning by a list or range of message ids: instead of passing the entire list of message ids with a LIMIT, it splits the message id lis…
Changed the way the data pruner uses the block size setting when pruning by a list or range of message ids: instead of passing the entire list of message ids with a LIMIT, it splits the message id list into block size chunks. This allows Derby to use the block size without running into problems with it's manual cascade deletes.

Issue: MIRTH-2495

Forgot to commit server side code.…
Forgot to commit server side code.

Issue: MIRTH-1040

Show a warning if one or more of the connectors chosen to be stopped was a destination connector with queueing disabled. Destination connectors must have queueing enabled to be stopped individually.…
Show a warning if one or more of the connectors chosen to be stopped was a destination connector with queueing disabled. Destination connectors must have queueing enabled to be stopped individually.

Issue: MIRTH-1040

Fixed poll connectors not stopping gracefully if they failed to start. The same fix also takes care of the potential null pointer exceptions in stop() and halt()…
Fixed poll connectors not stopping gracefully if they failed to start. The same fix also takes care of the potential null pointer exceptions in stop() and halt()

Issue: MIRTH-2643

MIRTH-2648: Updated the HTTP connectors so that they check for unsupported protocols on deploy and on dispatch.
MIRTH-2648: Updated the HTTP connectors so that they check for unsupported protocols on deploy and on dispatch.
MIRTH-2552

MIRTH-1700

Fixed problem in ImportConverter3_0_0.migrateJmsReceiverProperties if an error occurred while reading the old connection properties - needed to log an error and fail gracefully.

Moved the Version enum from DMC into it's own file.

Renamed Migrator to ServerMigrator.

Rewrote migration code in Migrate2_0_0 so that it does migrates global scripts and server properties manually, without referencing controller classes - fixes errors when migrating from version 1.8.x.

Modified Migrate2_0_0, Migrate3_0_0 and ServerMigrator so that they do not reference any controller classes.

Added additional utility methods to DonkeyElement.

MIRTH-2645: Fixed NullPointerException in MigratableConverter that happens when the converter is registered after NullConverter is added to the internal converter map.
MIRTH-2645: Fixed NullPointerException in MigratableConverter that happens when the converter is registered after NullConverter is added to the internal converter map.
MIRTH-1674: Updated JSch to the latest version (0.1.50).
MIRTH-1674: Updated JSch to the latest version (0.1.50).
    • binary
    /trunk/server/lib/jsch-0.1.50.jar
Fixed problem with the channel add tag dialog showing up all black under certain circumstances in Windows.…
Fixed problem with the channel add tag dialog showing up all black under certain circumstances in Windows.

Changed the dialog so that it is created/disposed on open/close instead of using setVisible().

Issue: MIRTH-2569

MIRTH-2188: Fixed bug that caused dragging a user cell onto itself to break drag-and-drop handling. The CustomTransferHandler that ChannelPanel and DefaultAlertPanel used has been extracted to a separ…
MIRTH-2188: Fixed bug that caused dragging a user cell onto itself to break drag-and-drop handling. The CustomTransferHandler that ChannelPanel and DefaultAlertPanel used has been extracted to a separate MirthTableTransferHandler, which is used in UserPanel now as well.
If the user is importing a channel that matches the current server version, do not prompt the user to migrate it to the current version.…
If the user is importing a channel that matches the current server version, do not prompt the user to migrate it to the current version.

Issue: MIRTH-2594