You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rocketmq-spring-boot-samples/rocketmq-produce-demo/src/main/java/org/apache/rocketmq/samples/springboot/ProducerApplication.java
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,8 @@ public void onException(Throwable var1) {
115
115
});
116
116
117
117
// Send message with special tag
118
-
rocketMQTemplate.convertAndSend(msgExtTopic + ":tag0", "I'm from tag0"); // tag0 will not be consumer-selected
118
+
// tag0 will not be consumer-selected
119
+
rocketMQTemplate.convertAndSend(msgExtTopic + ":tag0", "I'm from tag0");
119
120
System.out.printf("syncSend topic %s tag %s %n", msgExtTopic, "tag0");
120
121
rocketMQTemplate.convertAndSend(msgExtTopic + ":tag1", "I'm from tag1");
121
122
System.out.printf("syncSend topic %s tag %s %n", msgExtTopic, "tag1");
@@ -144,6 +145,7 @@ public void onException(Throwable var1) {
Copy file name to clipboardExpand all lines: rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/autoconfigure/ExtConsumerResetConfiguration.java
Copy file name to clipboardExpand all lines: rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/autoconfigure/RocketMQTransactionConfiguration.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,11 +44,13 @@ public class RocketMQTransactionConfiguration implements ApplicationContextAware
0 commit comments