0 down vote favorite
I am trying to implement logging aspect into my application. This is the first time I am attempting AOP, so please let me know if I am missing something obvious. In order...
Type: Posts; User: BobbyF; Keyword(s):
0 down vote favorite
I am trying to implement logging aspect into my application. This is the first time I am attempting AOP, so please let me know if I am missing something obvious. In order...
By saying 'same file' - I mean by name AND content. Two copies are made (one copy by each thread) and messages are constructed. Out of the two threads, one thread gets to delete the file on FTP...
That is correct. The file I post (scf05.txt.pgp) is consumed by a third-party application where as I consume the file (odt05.txt.pgp) posted by them from the same FTP site. For every post of the file...
The middleware product I am working with does two things:
1. Messages posted via http inbound gateway are accumulated, a batch file created, encrypted and posted to FTP site. This task always posts...
Yes, that is correct. Here is the updated config:
<int-ftp:inbound-channel-adapter id="fromFidFTPReader" local-directory="EncryptedFilesFromFid"
channel="fromFidEncryptedBatchChannel"...
I don't know what it is worth, but the FTP log shows that two sessions are being established at the same time.
000631)5/9/2011 19:09:00 PM - (not logged in) (127.0.0.1)> USER fidinvest...
I updated my project with 2.0.4 and tried it. I am still seeing the same behavior:
2011-05-09 19:09:00,053 DEBUG DefaultFtpSessionFactory [task-scheduler-5] (AbstractFtpSessionFactory.java:154)...
I apologize for not getting back to you right away.
To continue with the original issue, I followed your suggestion and re-wired my application by eliminating folder polling (my service activator...
I will update my config and post the details.
Just to give you some background, the cryptography manager is a wrapper for the command line utility (my company licensed) that decrypts the incoming...
<int-ftp:inbound-channel-adapter id="fromFidFTPReader" local-directory="EncryptedFilesFromFid"
channel="fromFidEncryptedBatchChannel" session-factory="ftpClientFactory" remote-directory="Fid" ...
Kind of.
FTP Process downloads the file to folder1 is put on channel. It is then passed to a service activator which decrypts the file and puts it in folder2. Then I have an inbound channel...
I meant to say there are multiple inbound channel adapters polling different folders say folder1, folder2, folder3 at various stages of processing (a file being processed in phase1 would be in...
I do not have multiple inbound channel adapters polling the same folder; however, I do have inbound channel adapters polling different folders (within the same applicationContext). Could this be an...
I totally understand and that was my expectation too as I did not assign any task executor. According to my application log, two task scheduler threads (10 and 8) were spanned to access the same file...
Here is my inbound channel adapter config:
<int-file:inbound-channel-adapter directory="DecryptedFiles" channel="decryptedFilesChannel" prevent-duplicates="true">
<int:poller cron="* * 6-23 *...
Could somebody please give me an example of usage of nio-locker? I went through the documentation, but apparently only nio-locker or poller could be configured? I need to poll a directory defined...
Is it possible to combine annotations and beans config? I just started playing with annotations and I like how they simplify configuration. However, I would prefer to take a hybrid approach for my...
I am trying to reference some DAO beans already defined (in applicatonContext.xml) in my springmvc-servlet.xml file.
Here is the bean definition in my applicationContext:
<beans:bean...
Fair enough...Are you deploying your code in some container like Tomcat? Are you sure that the file is getting deleted? The reason why I am asking this is, I had my application deployed in Tomcat 7...
If I understood the process correctly, the file is downloaded from the FTP server to your local folder and this file from the local folder is what is put on the channel. The issue is primarily...
Yes, that is the behavior as it is mentioned in the FTP inbound channel adapter documentation. You can do one of two things - you can delete the file after you are done processing or you can download...
Session class (org.springframework.integration.file.remote.session.Session) does have a method to rename the file on the FTP server. Check that out. Rename option may not be available on the FTP...
The same source application sends different requests to the applications deployed in the Tomcat 7 container. That means, it receives response from one application where as it times out from the...
Here is the scenario. I developed two applications using spring integration. They are *almost* similar in nature; but wired little bit differently. So, I have the same code base with slightly...
INT-1844 is created for the feature request.