MIRTH-3326: Added additional variables into the Velocity context when doing replacements on the content type or value for static resource requests. Basically all variables that are available in the source map when dispatching an actual message are also available in the Velocity context for static resource replacement.
MIRTH-3458: Fixed bug that caused Web Service Sender dispatches to not queue if an error occurred creating the Dispatch object. This could happen due to connectivity problems when pulling down the WSDL, or it could happen if the service/port are not correct. Instead of setting the status to ERROR, we'll just leave it as QUEUED in these cases. If a message gets queued because the service or port are incorrect, fixing it in the connector properties and enabling Regenerate Template will resolve the issue.
Since the source map that's passed into a raw message can be unmodifiable/singleton itself, it could fail to add the destination set (or batch Id). Therefore we always need to create a new source map in the channel and add all the values from the RawMessage's source map.
Issue: MIRTH-2480
Fixed null value not being handled when converting the destination metadata Ids collection to a set.
Issue: MIRTH-3392
Moved the migration for renaming queueConnectorProperties -> destinationConnectorProperties and responseConnectorProperties -> sourceConnectorProperties from Connector to ConnectorProperties. It is sometimes necessary to deserialize ConnectorProperties directly instead of the entire connector being deserialized. This occurs when messages are processed from the destination queue. If messages were already in the queue before a migration occurs then they will still need these fields updated.
Issue: MIRTH-2560