NextGen Knowledge Center

Library Resources

Resources are shared services that can be used in specific channels / connectors or in other places throughout the Mirth® Connect server. They may include custom Java libraries to use within scripts, or services to handle outbound connections. The Library Resources tab allows you to include resources throughout your entire channel, or in more specific contexts such as the channel scripts or certain connectors.

The Library Context tree in the top section of the tab allows you to select a specific context, or the Channel root-level node which represents all contexts across your channel at once. The following library contexts are available:

Library ContextDescription
ChannelThis is the root-level node of the tree, and includes all contexts below it. If one of the resource check boxes in the table below is in the indeterminate state (grey box), it means that it is currently included on some but not all of the sub-contexts.
Channel ScriptsThis includes the deploy, undeploy, preprocessor, postprocessor, attachment, and batch scripts.
Source ConnectorThis includes the source filter / transformer script, as well as the source connector itself. For example if you are using a Database Reader and you include a resource containing a custom JDBC Driver JAR, that will be available for use on the connector.
Destination ConnectorsThis includes the filter / transformer scripts, the response transformer scripts, and the destination connector itself. For example if you are using a JavaScript Writer and you include a resource containing custom Java classes, those will be available for use inside the destination script.