anchor.diff:    VotingService votingService;
   
     @StreamListener(Sink.INPUT)
  -	public void handle(Vote vote) {
  -		votingService.record(vote);
  -	}
  -}
  -----
  -
  -The distinction between this approach and a Spring Integration `@ServiceActivator` becomes relevant if one considers an inbound `Message` with a `String` payload and a `contentType` header of `application/json`.
  -For `@StreamListener`, the `MessageConverter` mechanism will use the `contentType` header to parse the `String` into a `Vote` object.
  -
  -Just as with the other Spring Messaging methods, method arguments can be annotated with `@Payload`, `@Headers` and `@Header`.
  -For methods that return data, `@SendTo` must be used for specifying the output binding destination for data returned by the methods as follows:
  +  public void handle(Vote vote) {
  +    votingService.record(vote);
  +  }
  +}
  +----
  +
  +The distinction between `@StreamListener` and a Spring Integration `@ServiceActivator` is seen when considering an inbound `Message` that has a `String` payload and a `contentType` header of `application/json`.
  +In the case of `@StreamListener`, the `MessageConverter` mechanism will use the `contentType` header to parse the `String` payload into a `Vote` object.
  +
  +As with other Spring Messaging methods, method arguments can be annotated with `@Payload`, `@Headers` and `@Header`.
  +
  +[NOTE]
  +====
  +For methods which return data, you must use the `@SendTo` annotation to specify the output binding destination for data returned by the method:
   
   [source,java]
   ----
  
positive.code: }
  ----
  
  ===== Customizing channel names
  
  Both @Input and @Output allow specifying a customized name for the channel, as follows:
  
  [source,java]
  ----
  
negative.code: java -jar target/LoggingSink-0.0.1-SNAPSHOT.jar --server.port=8090 --spring.cloud.stream.bindings.input.destination=mydest
  ----
  
  (The different server port prevents collisions of the HTTP port used to service the Spring Boot Actuator endpoints in the two applications.)
  
  The output of the LoggingSink application will look something like the following:
  
  [source]
  ----
  