TCP/IP flow in Talend.

One Star

TCP/IP flow in Talend.

Hi,
I am trying to create a flow in Talend, which will read input data on a particular port number and returns the response on the same port number.
Its a TCP/IP client/server communication.
I tried using tSocketInput, it reads the data only once and also it closes the socket. My client program gets a socket closed exception once tSocketInput retrieves the data sent from client program.
Could anyone explain how to achieve this in Talend? Its a simple TCP/IP comminication am trying to achieve.
Thanks,
Padmaraj.
Seventeen Stars

Re: TCP/IP flow in Talend.

Currently this simple task is not supported. It sounds like a good idea for a new component. I would - as a workaround - write everything needed in a tJavaFlex.
Employee

Re: TCP/IP flow in Talend.

I am solving the same problem at the moment.
Instead of using integration perspective, you can use mediation perspective (part of Talend ESB). There, you can easily solve complex TCP use cases using our Netty or Mina2 components!
For example, using Netty, you can configure a lot of stuff. See http://camel.apache.org/netty.html
Highlighted
Six Stars

Re: TCP/IP flow in Talend.

I am solving the same problem at the moment.
Instead of using integration perspective, you can use mediation perspective (part of Talend ESB). There, you can easily solve complex TCP use cases using our Netty or Mina2 components!
For example, using Netty, you can configure a lot of stuff. See http://camel.apache.org/netty.html

Can you please share a sample setup with tcp request/response using Netty4

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now