* Used to convert version <= 2.10 test plans
* @param args {@link Arguments}
* @return jmsProperties {@link JMSProperties}
*/
public static final JMSProperties convertArgumentsToJmsProperties(Arguments args) {
JMSProperties jmsProperties = new JMSProperties();
Map<String,String> map = args.getArgumentsAsMap();
for (Map.Entry<String, String> entry : map.entrySet()) {
jmsProperties.addJmsProperty(entry.getKey(), entry.getValue());
}
return jmsProperties;
}