-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Spring Boot to 2.0.3 and Spring Cloud to Finchley.SR2 (#21)
- Loading branch information
Gytis Trikleris
authored
Nov 7, 2018
1 parent
8b10a26
commit 2107748
Showing
8 changed files
with
22 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
...ging-it/opentracing-spring-messaging-it-stream-artemis/src/test/resources/application.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* Copyright 2017 The OpenTracing Authors | ||
* Copyright 2017-2018 The OpenTracing Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
|
@@ -19,22 +19,21 @@ | |
import org.springframework.cloud.stream.annotation.EnableBinding; | ||
import org.springframework.cloud.stream.annotation.StreamListener; | ||
import org.springframework.cloud.stream.messaging.Sink; | ||
import org.springframework.messaging.Message; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">Gytis Trikleris</a> | ||
*/ | ||
@EnableBinding(Sink.class) | ||
public class Receiver { | ||
|
||
private final List<Message> receivedMessages = new ArrayList<>(); | ||
private final List<String> receivedMessages = new ArrayList<>(); | ||
|
||
@StreamListener(Sink.INPUT) | ||
public void receive(Message message) { | ||
public void receive(String message) { | ||
receivedMessages.add(message); | ||
} | ||
|
||
public List<Message> getReceivedMessages() { | ||
public List<String> getReceivedMessages() { | ||
return receivedMessages; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters