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.
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.
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.
here is the content of xbean file:-
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.
<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
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
When you are adding the xml content do
curly bracket code:xml end curly bracket
curly bracket code end curly bracket
and it should work.
Edited by: edelln on Sep 17, 2008 7:41 AM
I have changed as per your suggestion but still it in not working ..
plz give some pointer.
Whats you email address and maybe you can send me your files