Skip to content

Commit

Permalink
Merge branch 'release/12.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
iitsoftware committed Aug 29, 2022
2 parents 1f71ecd + ae72c58 commit 8f6968f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>com.swiftmq</groupId>
<artifactId>swiftmq-client</artifactId>
<version>12.5.0</version>
<version>12.5.1</version>

<name>SwiftMQ Client</name>
<description>Client for SwiftMQ Messaging System with JMS, AMQP 1.0 and file transfer over JMS.</description>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/swiftmq/mgmt/XMLUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ private static void fillAttributes(Element node, Entity entity, boolean addName)
}
}

private static void entityToXML(Element parent, String tagName, Entity entity, boolean addName) throws Exception {
public static void entityToXML(Element parent, String tagName, Entity entity, boolean addName) throws Exception {
Element node = DocumentHelper.createElement(addName ? tagName : entity.getName());
fillAttributes(node, entity, addName);
Map m = entity.getEntities();
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/swiftmq/swiftlet/SwiftletManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ public synchronized void loadExtensionSwiftlet(Bundle bundle) throws Exception {
swiftlet.setStartupTime(startupTime);
swiftletTable.put(name, swiftlet);
swiftlet = null;
saveConfiguration();
trace("loadExtensionSwiftlet: '" + name + "' DONE.");
}

Expand Down Expand Up @@ -981,9 +982,8 @@ protected String[] saveConfiguration(RouterConfigInstance entity) {
Map configs = entity.getEntities();
for (Object o : configs.keySet()) {
Entity c = (Entity) configs.get((String) o);
if (c instanceof Configuration) {
if (c instanceof Configuration)
XMLUtilities.configToXML((Configuration) c, root);
}
}
XMLUtilities.writeDocument(doc, configFilename);
al.add("Configuration saved to file '" + configFilename + "'.");
Expand Down

0 comments on commit 8f6968f

Please sign in to comment.