File tree 1 file changed +3
-2
lines changed
spring-cloud-gcp-samples/spring-cloud-gcp-pubsub-binder-sample/src/main/java/com/example
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,9 @@ public void handleMessage(UserMessage userMessage) {
46
46
" at " + userMessage .getCreatedAt ());
47
47
}
48
48
49
- // Note that the error inputChannel is formatted as [Pub/Sub subscription name with group].[group name].errors
50
- // If you change the topic name in application.properties, you also have to change the inputChannel below.
49
+ // Note that the error `inputChannel` is formatted as [Pub/Sub subscription name].errors
50
+ // or the equivalent of [Pub/Sub topic name].[group name].errors. If you change the topic name in
51
+ // `application.properties`, you will also have to change the `inputChannel` below.
51
52
@ ServiceActivator (inputChannel = "my-topic.my-group.errors" )
52
53
public void error (Message <MessagingException > message ) {
53
54
LOGGER .error ("The message that was sent is now processed by the error handler." );
You can’t perform that action at this time.
0 commit comments