English 中文(简体)
2. 与外部系统传输数据的技术
原标题:Technology to transfer data with external system

We have an interface with an external system in which we get flat files from them and process those files. At present we run a job a few times a day that checks if the file is at the ftp location and then processes if it exists. I recently read that it is a bad idea to make use of file systems as a message broker which is why I am putting in this question. Can someone clarify if a situation like this one is a right fitment for the use of some other tool and if so which one? Ours is a java based application.

最佳回答

你们应该问的第一个问题是“是否发挥作用?

如果答案是肯定的,那么你就应该对变化视而不见,因为你认为这是一个坏的想法。 我的理解是,你可能不满意,但我不会放弃:

<are> 您可以处理的潜在问题,如未经您了解而被删除的档案,或试图处理仅得到半转让的档案(尽管有办法缓解这两种情况,例如前一种案件的许可,或使用发送的文档或对后一种情况进行内容检查)。

我自己喜欢电文查询系统,例如IBM s MQ或JMS(因为这个系统是它们重新建立起来的,而且实际上使生活变得更差),但按照上面第二段,只有以下两种情况:

  • problems appear or become evident with the current solution; or
  • you have some spare time and money lying around for unnecessary rework.

最后一颗子弹需要扩大。 虽然这项工作可能没有必要(在解决不存在的问题方面),但并不一定使这项工作毫无用处,特别是如果能够改善业绩或安全,或减少维修工作。

问题回答

我将利用一个数据库协调你的档案。 拥有一个数据库,标明档案地点。 只有在档案全部移交时才进入数据库。 这将确保你收集已完成的档案。 如果出现新条目,而不是投票记录系统,你就可以对数据库进行投票调查。 为投票机制建立一个非常简便的机制。 如果在文件夹上出现新文件时你会被告知,那么你需要填写一份电文。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签