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

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.