-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- io.netty (zio/zio-s3#190 (comment)) - SLF4j, log4j (micronaut-projects/micronaut-core#6041)
- Loading branch information
Showing
10 changed files
with
70 additions
and
199 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,12 +1,25 @@ | ||
package rsocket_test; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import io.rsocket.Payload; | ||
import io.rsocket.RSocket; | ||
import io.rsocket.core.RSocketConnector; | ||
import io.rsocket.transport.netty.client.WebsocketClientTransport; | ||
import io.rsocket.util.DefaultPayload; | ||
import reactor.core.publisher.Flux; | ||
|
||
import java.net.URI; | ||
|
||
@SpringBootApplication(proxyBeanMethods = false) | ||
public class Test { | ||
public static void main(String[] args) { | ||
System.out.println("Hello from Java"); | ||
SpringApplication.run(Test.class, args); | ||
WebsocketClientTransport ws = WebsocketClientTransport.create(URI.create("ws://rsocket-demo.herokuapp.com/ws")); | ||
RSocket clientRSocket = RSocketConnector.connectWith(ws).block(); | ||
|
||
try { | ||
Flux<Payload> s = clientRSocket.requestStream(DefaultPayload.create("peace")); | ||
|
||
s.take(10).doOnNext(p -> System.out.println(p.getDataUtf8())).blockLast(); | ||
} finally { | ||
clientRSocket.dispose(); | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
.../resources/META-INF/native-image/org.mvnsearch/rsocket-graal-demo/native-image.properties
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/main/resources/META-INF/native-image/org.mvnsearch/rsocket-graal-demo/proxy-config.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...n/resources/META-INF/native-image/org.mvnsearch/rsocket-graal-demo/reflection-config.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...ain/resources/META-INF/native-image/org.mvnsearch/rsocket-graal-demo/resource-config.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.