|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IIB9: Integration Service In Front of TCP |
« View previous topic :: View next topic » |
Author |
Message
|
akil |
Posted: Tue May 19, 2015 6:53 am Post subject: IIB9: Integration Service In Front of TCP |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
I've a situation, where multiple integration services need to interact over TCP/IP with a credit card system.. (ISO8583 formats). To add to the absurdity, this system does not act like a server, it acts like a client .. so I've to use the TCPIPServerInput node to be a listener.
So I was thinking of creating a library that would have this TCP/IP Sub-flow, and to include this library in the integration services that need it .. But since in IIB9 all libraries are statically included, I guess multiple instances of the sub-flow will get started ,
In such a case, how would a synchronous flow like TCPIPServerOutput --> TCPIPServerReceive work ? I suppose one integration service will start blocking another one ?
So should I add an intermediate transport between the services and the TCP/IP flow ? - I could use MQ, and instead of having a library, I could create an application that does the TCP/IP stuff ..
Or should I attempt an async. method, even though the clients are synchronous?
Is it really a good idea to use TCP/IP in a library and then include it in multiple other projects?
[/list] _________________ Regards |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 20, 2015 4:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you looked at the transport and connectivity block in the samples and tutorials for the TCP/IP samples? _________________ MQ & Broker admin |
|
Back to top |
|
 |
akil |
Posted: Wed May 20, 2015 10:14 am Post subject: |
|
|
 Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
|
Hi
Yes, I did see the samples, the 3 way handshake , the client sample, and the server sample
I am now proceeding on the lines of the MQ / async sample, the service will put a message , which will be picked up by the flow which would be in a separate application,
I am not still clear on whether I could not write an app, but include the TCP/IP code in a subflow , packaged as a library and referenced by the services...did not find anything similar in the examples..hence the question _________________ Regards |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 20, 2015 10:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
akil wrote: |
I am not still clear on whether I could not write an app, but include the TCP/IP code in a subflow , packaged as a library and referenced by the services...did not find anything similar in the examples..hence the question |
That's an architectural decision that we cannot make for you as we do not know how reusable this is, what the multiple threading implications are etc...
If the targets are all the same you might want to consider a separate flow / app and scale by running multiple instances of it??  _________________ MQ & Broker admin |
|
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
|
|
|
|