| |
|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
| Urgent!!-File transfer on condition |
« View previous topic :: View next topic » |
| Author |
Message
|
| Accell |
Posted: Mon Feb 09, 2015 1:49 pm Post subject: |
|
|
Novice
Joined: 07 Feb 2015 Posts: 24
|
[quote="Vitor"]
| Accell wrote: |
| 1.Client Requirement(3rd party generates the file) |
If a third party generates the 3 input files, why are they not sending them to the remote server? If you're processing the input files, why are you not storing them using the processing flow and then retrieving the data / splitting it back up into 3 files when the trigger arrives?
Hi,
Client wants to transfer 3 files of a single batch in a sequence which will be processed one after the other at different remote server as soon as they arrive.
They want to transfer it via MQ hub coz of different reasons.
I m trying to 1st get these files to the local server and then transferring them as soon as the 3rd file arrives.
I tried that using collector node but it gets stuck.(SYSTEM.BROKER.EDA.EVENTS).
I am new to websphere MB,could you please guide on the part of processing flow.
or
Detecting the issues with the collector node.
Many thanks for the inputs.!!  |
|
| Back to top |
|
 |
| smdavies99 |
Posted: Mon Feb 09, 2015 11:05 pm Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Designing a flow that uses the Collector node really isn't for the Beginner.
Sure you might get it to work but there are all sorts of other things you have t oconsider. Things that unless IMHO you are really skilled in Broker Dev and thoroughly understand Threads (As applied to Broker) and transactionality then you are going to have a really severe learning curve.
how are you going to handle the case when for some reason the 3rd file does not arrive? Or the second File?
IMHO, the KISS rule applies. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
| Back to top |
|
 |
| Vitor |
Posted: Tue Feb 10, 2015 5:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
| Accell wrote: |
| They want to transfer it via MQ hub coz of different reasons. |
What reasons? Why not use the MQ hub (if it's at a convienient point in the network) and use dedicated file transfer software rather than WMB/IIB?
| Accell wrote: |
| I m trying to 1st get these files to the local server and then transferring them as soon as the 3rd file arrives. |
We'll get back to this.
| Accell wrote: |
| I tried that using collector node but it gets stuck.(SYSTEM.BROKER.EDA.EVENTS). |
No it doesn't. The Collector node doesn't get "stuck"; it's not a car in a snowdrift. If it's not doing what you expect there's a code bug.
| Accell wrote: |
| I am new to websphere MB |
And what you're trying is a) a fairly advanced topic and b) flawed in it's design. As I and others have mentioned, what are you going to do if one file in the batch does not arrive? How will you detect which file is missing and what will you do with the files you do have?
Your design appears be be predicated on the assumption that all 3 files will always arrive, always arrive in the sequence required and always arrive within a narrow time window of each other. That's a lot of assumptions and, especially with file transfer over a network, often prove to be false.
That's not even going near what you plan to do if you're still retrying the transmissions of the 3 file to the remote server when the next batch turns up..... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
| Back to top |
|
 |
|
|
|
|
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
|
|
|
|