This is an automated email from the ASF dual-hosted git repository. dfoulks pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/activemq-nms-openwire-generator.git
commit 569714fa2e3c1f2de9954a7b157c88af8b1603ed Author: Timothy A. Bish <[email protected]> AuthorDate: Thu Dec 17 16:49:46 2009 +0000 Includes the broker sequence Id into the ToString output. --- .../apache/activemq/nms/openwire/tool/commands/MessageIdGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageIdGenerator.java b/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageIdGenerator.java index 8decc9d..e8c389f 100644 --- a/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageIdGenerator.java +++ b/src/main/java/org/apache/activemq/nms/openwire/tool/commands/MessageIdGenerator.java @@ -53,7 +53,7 @@ public class MessageIdGenerator extends CommandClassGenerator { out.println(" if(key == null) "); out.println(" {"); - out.println(" key = producerId.ToString() + \":\" + producerSequenceId;"); + out.println(" key = producerId.ToString() + \":\" + producerSequenceId + \":\" + brokerSequenceId;"); out.println(" }"); out.println(" "); out.println(" return key;");
