web stats
Mirth Community - View Single Post - How to use a Hasmap of Java in mirth?
View Single Post
Old 11-26-2018, 09:18 AM
agermano agermano is offline
Mirth Guru
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,029
agermano is on a distinguished road

All of the mirth map variables (channelMap, connectorMap, etc...) are HashMaps.

You can create one like this:
var myHashMap = new java.util.HashMap();
You can even initialize it with a javascript object:
var myHashMap = new java.util.HashMap({
    a: 1,
    b: 'two'
Reply With Quote