-
1. Re: Specific listener implementation
marklittle Jan 29, 2009 8:16 AM (in response to t0m.guenter)You can set it to not look at the input suffix at all and pull in all files. Would that help?
-
2. Re: Specific listener implementation
t0m.guenter Jan 29, 2009 8:29 AM (in response to t0m.guenter)Thanks for the reply, mark.
Not exactly, no, since I don't want to configure an ftp-listener for every customer available (e.g. one for customer 0000052, another for customer 0000065, and so on).
The listener should scan for files in any subfolders and apply the message-filter there. -
3. Re: Specific listener implementation
t0m.guenter Jan 29, 2009 10:23 AM (in response to t0m.guenter)While playing around a bit, I found out that the ordinary wildcards work in suffix attributes. So I set the input-suffix in the ftp-message-filter configuration as shown below and hence I only have to define a filter and listener for every file type that my appear in the sub folders.
input-suffix="*/*.zip"
An input-suffix like "*.*" is not very advisable since in this case also directories are treated like files and will be renamed.
My complete message filter configuration:<ftp-message-filter username="user" password="pw" directory="test-thomas" input-suffix="*/*.zip" work-suffix=".esbInProcess" post-delete="true" passive="false" read-only="false"/>
-
4. Re: Specific listener implementation
marklittle Jan 30, 2009 6:11 AM (in response to t0m.guenter)Glad to hear you made progress.
-
5. Re: Specific listener implementation
drakenra Aug 18, 2010 4:55 AM (in response to t0m.guenter)Hi Thomas!
I have the same requirement in our project as you got there and I didn't get it to work with JBoss ESB 4.9... I tried your wildcard trick with
input-suffix="*/*.zip"
... I was wonder which JBoss ESB version you are using?Best Regards, Nhut