OK good :)
Regards
JB
On 09/10/2010 09:20 AM, Łukasz Budnik wrote:
Hi,
I have troubleshooted it and it turned out that under Windows I had to
add 3 slashes before the hard disk letter just like this:
"file:///c:/and/so/on"
So the problem is solved.
thanks,
Łukasz
On 10 September 2010 08:41, Jean-Baptiste Onofré<[email protected]> wrote:
Hi,
could we have the log in debug mode ?
Regards
JB
On 09/09/2010 11:00 PM, Łukasz Budnik wrote:
Hi all,
I'm struggling with a simple issue (I don't want to use Camel for
that). I'm using SM 4.2.0-fuse-01-00 and I want to read files and pass
them to a bean.
I wrote simple beans.xml:
<beans>
<bean id="simpleHelloService"
class="org.xh.studies.servicemix.bean.SimpleHelloService"/>
<bean class="org.apache.servicemix.common.osgi.EndpointExporter" />
<bean:endpoint service="ns:SimpleHelloService"
endpoint="beanEndpoint" bean="#simpleHelloService" />
<file:poller service="ns:FilePoller" deleteFile="false"
endpoint="pollerEndpoint"
file="file://C:/Studies/workspace-servicemix/ejb-to-servicemix4/src/test/resources/data/"
targetService="ns:SimpleHelloService" targetEndpoint="beanEndpoint"/>
</beans>
In log:display and nmr:list I see that both services are registered
and are OK. But unfortunately, files are not read from
C:/Studies/workspace-servicemix/ejb-to-servicemix4/src/test/resources/data/
directory. Or are read but not passed to my bean.
Any ideas how to trace where the problem is? For sure the data
directory is not empty... SimpleHelloService does not get called.
any hints most welcomed.
thanks,
Łukasz