INT-3692: Add Annotation-Based TCP Demo
This commit is contained in:
@@ -14,6 +14,7 @@ Several variations of the sample are provided:
|
||||
* Serializer Demo
|
||||
* Using the Stx-Etx [Serializer][]/[Deserializer][]
|
||||
* Using a Custom [Serializer][]/[Deserializer][]
|
||||
* Annotation based client-server Demo (JUnit test only)
|
||||
|
||||
### Client-Server Demo
|
||||
|
||||
@@ -135,6 +136,11 @@ Some use cases may dictate you needing to create your own stream handling serial
|
||||
You can run the example by executing JUnit test **TcpServerCustomSerializerTest**.
|
||||
|
||||
|
||||
#### Annotation-based Configuration
|
||||
|
||||
A simple client server test using entirely annotation-based configuration is shown in **TcpClientServerAnnotationDemoTest**.
|
||||
|
||||
|
||||
[ByteArrayCrLfSerializer]: http://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayCrLfSerializer.html
|
||||
[ByteArrayStxEtxSerializer]: http://static.springsource.org/spring-integration/api/org/springframework/integration/ip/tcp/serializer/ByteArrayStxEtxSerializer.html
|
||||
[control character]: http://en.wikipedia.org/wiki/Control_character
|
||||
|
||||
Reference in New Issue
Block a user