web stats
Mirth Community - View Single Post - How to use a Hasmap of Java in mirth?
View Single Post
  #2  
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
Default

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

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