INTSAMPLES-131: Fix README.md for Gradle
JIRA: https://jira.spring.io/browse/INTSAMPLES-131 INTSAMPLES-131: PR comments
This commit is contained in:
committed by
Gary Russell
parent
53dfc4914f
commit
95ec35c768
@@ -19,9 +19,9 @@ Several variations of the sample are provided:
|
||||
|
||||
The Client-Server Demo illustrates the use of a *Gateway* as an entry point into the integration flow. The message generated by the *Gateway* is sent over *TCP* by the *Outbound Gateway* to the *Inbound Gateway*. In turn the *Inbound Gateway* sends the message to an echo service (Class *EchoService*) and the echoed response comes back over *TCP*. The demo uses explicit *Transformer*s to convert the *byte array* payloads to *Strings*.
|
||||
|
||||
You can execute this sample simply via Maven:
|
||||
You can execute this sample simply via Gradle:
|
||||
|
||||
$ mvn clean package exec:java
|
||||
$ gradlew :tcp-client-server:run
|
||||
|
||||
Alternatively, you can also execute the **Main** method in class *org.springframework.integration.samples.tcpclientserver.Main*. In both cases you should see the following console output:
|
||||
|
||||
@@ -54,7 +54,7 @@ Alternatively, you can also execute the **Main** method in class *org.springfram
|
||||
|
||||
The respective open server socket it dynamically selected. Alternatively, you can also customize the port by providing an additional system property at startup e.g.
|
||||
|
||||
$ mvn clean package exec:java -DavailableServerSocket=7777
|
||||
$ gradlew :tcp-client-server:run -DavailableServerSocket=7777
|
||||
|
||||
#### Connect via Telnet
|
||||
|
||||
@@ -143,4 +143,4 @@ You can run the example by executing JUnit test **TcpServerCustomSerializerTest*
|
||||
[Deserializer]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Deserializer.html
|
||||
[Serializer]: http://static.springsource.org/spring/docs/current/javadoc-api/org/springframework/core/serializer/Serializer.html
|
||||
[Telnet]: http://en.wikipedia.org/wiki/Telnet
|
||||
[Transmission Control Protocol]: http://en.wikipedia.org/wiki/Transmission_Control_Protocol
|
||||
[Transmission Control Protocol]: http://en.wikipedia.org/wiki/Transmission_Control_Protocol
|
||||
|
||||
Reference in New Issue
Block a user