-
1. Re: problem with file binding component
edelln Sep 17, 2008 6:31 AM (in response to manish_goyal)Can you check in your servicemix.log file that these service units are started.
Also can you see that its polling the directory.
If you can send the xbean.xml files of your poller and sender that would be good.
Edell.
-
2. Re: problem with file binding component
manish_goyal Sep 17, 2008 6:43 AM (in response to edelln)thanks for your reply.
One more thing i want to ask you..
In log file it is showing like
Starting service unit: tutorial-file-su
ServiceMix JBI Container (ServiceMix) started
Starting service assembly: tutorial-sa.
But file is not getting picked up by target.
Where in log file i can check for polling.
-
3. Re: problem with file binding component
edelln Sep 17, 2008 6:47 AM (in response to manish_goyal)Well it seems like the assembly is started.
can you send me the contents of the xbean.xml file. how you specify the directory thats polled.
-
4. Re: problem with file binding component
manish_goyal Sep 17, 2008 7:01 AM (in response to edelln)here is the content of xbean file:-
-
5. Re: problem with file binding component
edelln Sep 17, 2008 7:32 AM (in response to manish_goyal)Hi,
Is this a paste error ?
if not you need to include some information as regards what directory to poll and what service you wish to send the file to.
eg.
<f:sender service="proj:fileSender" endpoint="endpoint" directory="file:///C:/opensrc/test/myOutbox" autoCreateDirectory="true"> </f:sender> <f:poller service="proj:filePoller" endpoint="poller" file="file:///C:/opensrc/test/myInbox" targetService="proj:fileSender" targetEndpoint="endpoint" period="60000" recursive="true" autoCreateDirectory="true"> </f:poller>
Edited by: edelln on Sep 17, 2008 7:32 AM
-
6. Re: problem with file binding component
manish_goyal Sep 17, 2008 7:45 AM (in response to edelln)This is the inner part... previously it was Paste error
<file:sender service="tut:file" endpoint="sender"directory="C:\Project\sender" />
<file:poller service="tut:file" endpoint="poller" file="C:\Project\pollar" targetService="tut:file" targetEndpoint="sender"/>
Edited by: manish_goyal on Sep 17, 2008 7:38 AM
-
7. Re: problem with file binding component
edelln Sep 17, 2008 7:43 AM (in response to manish_goyal)When you are adding the xml content do
curly bracket code:xml end curly bracket
content
curly bracket code end curly bracket
and it should work.
Edited by: edelln on Sep 17, 2008 7:41 AM
-
8. Re: problem with file binding component
manish_goyal Sep 17, 2008 9:40 AM (in response to edelln)I have changed as per your suggestion but still it in not working ..
plz give some pointer.
thanks
-
9. Re: problem with file binding component
edelln Sep 17, 2008 9:49 AM (in response to manish_goyal)Whats you email address and maybe you can send me your files