Brahma,
Remember to start using servicemix-file for file polling and sending
instead of servicemix-lwcontainer. Anyway, I have no idea on how to use
the WorkManager. I seem to recall reading somewhere that it has been
deprecated in favor of the Executor, but again: no idea if and how you
can configure it.
I'm a bit confused by your third question. Why are you first polling a
file from one directory and writing it to another, only to re-read the
file from the second directory? What do you want to do? Do you want to
poll for files and send the content to a JSR-181 compliant POJO for
further processing?
Gert
[EMAIL PROTECTED] wrote:
Gert,
1. I ran the servicemix-lwcontainer successfully without threads.
How to implement with threads using workManager?
2 .I tried with workManager property name, I got an error the
inner bean creation and there is no property name=workManager in FilePoller.
3. I am polling a file from source to destination successfully. I
want to read that file from destination folder. I wrote one interface
and implementation class in JSR-SU. In implementation class I
wrote one method for file reading. I want to use this destination file
path while reading it. Could you please help me how to use from
Servicemix-lw component to Servicemix-JSR-SU. Or tell any alternative
method to do this one.
Please help me.
Thank You.
*Thanks&Regards*
*Bramha Naidu Aelem*
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
prohibited and may be unlawful.