HI, I'm new with ServiceMix (I try to use version 4) and I've a really simple use case.
I want to process a file (servicemix-file) from a directory with a bean (servicemix-bean). So I've defined two SU's. Here the xbean.xml of both: <beans xmlns:file="http://servicemix.apache.org/file/1.0" xmlns:mesb="urn:mkx:esb:host:transactions"> <file:poller service="mesb:hostTransactionsPoller" endpoint="poller" file="file:/mkx_esb/transactions_in" targetService="mesb:hostTransactionsProcessor" targetEndpoint="hostTransactionsEndpoint" archive="file:/mkx_esb/transactions_archive" /> </beans> <beans xmlns:bean="http://servicemix.apache.org/bean/1.0"> <bean:endpoint service="mesb:hostTransactionsProcessor" endpoint="hostTransactionsEndpoint" bean="#hostTransactionsProcessorBean" /> <bean id="hostTransactionsProcessorBean" class="at.mkx.esb.host.transactions.processor.ProcessorBean" /> </beans> When I deploy the SA and want to process the xml file I get an error from ServiceMix: 15:40:03,968 | ERROR | ix-file-thread-4 | FileComponent | rvicemix.file.FilePollerEndpoint 260 | Failed to process file: \mkx_esb\transactions_in\xyz.xml. Reason: org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch exchange. No matching endpoints. org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch exchange. No matching endpoints. at org.apache.servicemix.nmr.core.FlowRegistryImpl.dispatch(FlowRegistryImpl.java:89) at org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:226) at org.apache.servicemix.nmr.core.ChannelImpl.send(ChannelImpl.java:104) at org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.send(DeliveryChannelImpl.java:173) at org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:88) at org.apache.servicemix.common.endpoints.SimpleEndpoint.send(SimpleEndpoint.java:67) at org.apache.servicemix.file.FilePollerEndpoint.processFile(FilePollerEndpoint.java:274) at org.apache.servicemix.file.FilePollerEndpoint.processFileNow(FilePollerEndpoint.java:257) at org.apache.servicemix.file.FilePollerEndpoint$1.run(FilePollerEndpoint.java:241) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Could anybody give me a hint what's wrong?? TIA Martin -- View this message in context: http://www.nabble.com/Newbie-problem---Error-processing-a-file-%28from-file-system-to-bean%29-tp19628271p19628271.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
