Results 1 to 2 of 2

Thread: adapter for handling raw socket info

  1. #1

    Default adapter for handling raw socket info

    We have an application in which I would like to have a listener configured for inbound and outbound traffic over a socket/port. The data is raw and does not conform to any conventions such as web services, jms, etc. After the data comes it it needs to feed a process that will churn thru the data and put it into a database. At some point the system needs to send back a response indicating that the data was processed. Is there a way to handle this with Spring Integration and, if so, is anyone aware of any examples/tutorials that cover this scenario?

    Thanks

  2. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,012

    Default

    Yes; see the documentation here...

    http://static.springsource.org/sprin...htmlsingle/#ip

    A good place to start is the tcp-client-server sample.

    See tcp-client-server under the ‘basic’ projects.

    You can get all the samples using git, as described in Oleg’s post on the SpringSource Team Blog http://blog.springsource.com/2010/09...ation-samples/ . Or, you can browse this sample here http://git.springsource.org/spring-i...-client-server
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •