|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Mix Reponses when receiving data over TCP IP from server |
« View previous topic :: View next topic » |
Author |
Message
|
junaid |
Posted: Mon Oct 05, 2020 5:45 am Post subject: Mix Reponses when receiving data over TCP IP from server |
|
|
Acolyte
Joined: 29 Nov 2018 Posts: 58
|
Hi,
I am using TCPIP Client nodes to connect server from IBM Integration Bus.
Scenario:
1st flow : HTTPInput> ESQL transform > Reset content descriptor > sub flow > ESQL transform > Reset content descriptor >HTTPReply
2nd flow : Timer > ESQL Hardcode > sub flow > ESQL > Update in Cache >
sub flow : Input > TCP Client Out > TCP Client Receive > Output
Server accepts multiple request fix length over TCPIP with connection close NO.
ARE YOU ALIVE message is sent on every 10 seconds to server as described in 2nd flow.
Problem:
Problem is that the I am getting data of 2nd flow i.e ARE YOU ALIVE . Message which is received by tcp client receive contains like following.
ARE_YOU_ALIVE1238583012000000 202010011033000
I have tried following combinations on advanced tab of tcp client out and leave unchanged when receiving .
Reserve input stream Output stream (for use by future TCPIP nodes) then release at end of flow
I have gone multiple post on mqseries as well on other sites but did not get proper solution for that.
Regards,
Junaid Ahmed |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 07, 2020 1:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
So basically you have two processes sharing a client socket and you wonder why they get mixed up??
This should be a design problem. Separate the two flows. You can have a hart-beat flow to the server, and a different actual flow to get the data.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
junaid |
Posted: Wed Oct 07, 2020 9:59 pm Post subject: Mix Reponses when receiving data over TCP IP from server |
|
|
Acolyte
Joined: 29 Nov 2018 Posts: 58
|
There are 2 separate messages and 2 separate requests one is ARE_YOU_ALIVE and 2nd is fix length message. In response of 2nd flow I was getting ARE_YOU_ ALIVE + 2nd flow msg.
Well it is resolved now .
The server is also sending same message ARE_YOU_ ALIVE without sending any request . It is checked by tcpdump from source to destination. That is the cause when response is received of 2nd flow on stream it is adding first ARE_YOU_ ALIVE and then incomplete message. And this create mixture of responses in responses.
regards,
JA |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Oct 08, 2020 3:24 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
What is the app at the other end of the TCP connection? If you are doing low level TCP send and receive, you need to handle all possible received data and its order of arrival. _________________ Glenn |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|