|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FileRead node : Reuse FTP connection |
« View previous topic :: View next topic » |
Author |
Message
|
vennela |
Posted: Fri May 06, 2016 7:36 am Post subject: FileRead node : Reuse FTP connection |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I have a flow which uses FileRead node. This flow checks for about 100+ directories. So, I am calling it in a loop to 100+ times
I am guessing every time the flow hits the FileRead node, it is establishing an FTP connection
Is it possible to make broker aware of this login session and use the existing connection, like the JDBC connection pooling in application servers
Any suggestions please |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 06, 2016 7:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This is, alas,a PMR question. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
timber |
Posted: Fri May 06, 2016 8:40 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Sounds as if you need a proper file transfer solution. |
|
Back to top |
|
 |
vennela |
Posted: Fri May 06, 2016 9:38 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
These files are pretty small and there is some transformation, content based routing and validation involved
The first flow is just to see if a file exists and if it does, I put a message to a queue that will kick off the actual processing flow
Now this "does the file exist" checking flow has become a bottle neck
@Jeff, what do you mean PMR question. Are you saying we should give our wishlist to the node developers? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 06, 2016 10:13 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
vennela wrote: |
@Jeff, what do you mean PMR question. Are you saying we should give our wishlist to the node developers? |
No, That would be an RFE.
I meant you should open a PMR and find out if there's someway to control how often it polls. Or how to configure it to reuse a connection.
But, as per timber... a real FT solution would let your FileInput node monitor a local directory, and do something less intensive in polling the remote end... and be more configurable. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
vennela |
Posted: Fri May 06, 2016 11:08 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
mqjeff wrote: |
But, as per timber... a real FT solution would let your FileInput node monitor a local directory, and do something less intensive in polling the remote end... and be more configurable. |
Yeah, makes sense
Time to hit the design board |
|
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
|
|
|
|