private void applyJMSObjects(HashMap<String,String> filters){
  StringWriter writer=new StringWriter();
  PrintWriter printWriter=new PrintWriter(writer);
  printWriter.println();
  for (  String str : getQueueList()) {
    printWriter.println("      <queue name=\"" + str + "\"/>");
  }
  for (  String str : getTopicList()) {
    printWriter.println("      <topic name=\"" + str + "\"/>");
  }
  filters.put("${jms-list.settings}",writer.toString());
}

private void applyJMSObjects ( HashMap < String , String > filters ) { StringWriter writer = new StringWriter ( ) ; PrintWriter printWriter = new PrintWriter ( writer ) ; printWriter . println ( ) ; for ( String str : getQueueList ( ) ) { printWriter . println ( "      <queue name=\"" + str + "\"/>" ) ; } for ( String str : getTopicList ( ) ) { printWriter . println ( "      <topic name=\"" + str + "\"/>" ) ; } filters . put ( "${jms-list.settings}" , writer . toString ( ) ) ; }
it will create the jms configurations
