INTSAMPLES-22: Create sample for inbound tcp-connection-factory using deserializer and serializer

* Added new tests
* Added comments
* Created the custom serializer/deserializer. Fixing some small issues with it
* Changed the sending to use java socket api
* Working, just trying to figure out junit differences
* Found an error in the input message (contained \r\n) fixed now
* added .idea and activemq-data folders to ignore
* Cleaned up unused code, added documentation to the README.md
* Added more comments
* Added Copyright notices
This commit is contained in:
Christian Posta
2012-02-03 23:48:20 -07:00
committed by Gunnar Hillert
parent 9eaea90170
commit 375cc41b1a
15 changed files with 554 additions and 12 deletions

View File

@@ -47,3 +47,8 @@ This can also be demonstrated with the telnet client thus...
telnet> quit
Connection closed.
A third option exists for converting a stream of bytes to a domain object or message payload. You can hook up different serializers/deserializers at the connection factory which will apply the conversions right when the stream comes in to the gateway and right when it goes out.
See **TcpServerConnectionDeserializeTest** for using a simple (comes with spring) Stx/Etx serializer.
See **TcpServerCustomSerializerTest** for creating and using your own serializers