Not sure if I doing this right,
Properties properties = new Properties();
properties.load(new FileInputStream("config.properties"));
Long pollingFrequency = new Long(
properties
.getProperty("preProcessor.contracts.inDir.pollingFrequency"));
String moveToDirectory = properties
.getProperty("preProcessor.contracts.movetoDir");
String endpointURI =
properties.getProperty("preProcessor.contracts.inDir");
builder = new QuickConfigurationBuilder();
manager = builder.createStartedManager(true, "");
manager = builder.configure("mule-config.xml");
// manager.start();
FileConnector fileConnector = new FileConnector();
fileConnector.setName("preProcessorFileConnector");
fileConnector.setPollingFrequency(pollingFrequency.longValue());
fileConnector.setMoveToDirectory(moveToDirectory);
fileConnector.setAutoDelete(false);
manager.registerConnector(fileConnector);
UMOEndpointURI umoEndpointURI = new
MuleEndpointURI("file://"+endpointURI);
builder.registerComponent("com.pp.umo.FileReceiverUMO",
"preProcessorFileReceiver", umoEndpointURI);
manager.start();
When I throw a file in the "in" folder I get an exception, any ideas am I
missing something.
0 [connector.file.0.receiver.1] ERROR
org.mule.impl.DefaultComponentExceptionStrategy -
********************************************************************************
Message : Could not find entry point on:
"com.umo.FileReceiverUMO" with arguments: "{class [B}"
Type : org.mule.impl.NoSatisfiableMethodsException
Code : MULE_ERROR-101216
JavaDoc :
http://mule.mulesource.org/docs/apidocs/org/mule/impl/NoSatisfiableMethodsException.html
********************************************************************************
Exception stack is:
1. Could not find entry point on: "com.umo.FileReceiverUMO" with arguments:
"{class [B}" (org.mule.impl.NoSatisfiableMethodsException)
org.mule.impl.model.resolvers.DynamicEntryPoint:241
(http://mule.mulesource.org/docs/apidocs/org/mule/impl/NoSatisfiableMethodsException.html)
********************************************************************************
Root Exception stack trace:
org.mule.impl.NoSatisfiableMethodsException: Could not find entry point on:
"com.umo.FileReceiverUMO" with arguments: "{class [B}"
at
org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:241)
at
org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194)
at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:258)
at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:393)
at
org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:418)
at org.mule.impl.MuleSession.sendEvent(MuleSession.java:349)
at
org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:197)
at
org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:163)
at
org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:581)
at
org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:322)
at
org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:251)
at
org.mule.providers.file.FileMessageReceiver.processFile(FileMessageReceiver.java:242)
at
org.mule.providers.file.FileMessageReceiver.poll(FileMessageReceiver.java:129)
at
org.mule.providers.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:567)
********************************************************************************
--
View this message in context: http://www.nabble.com/Exception%3A-Could-not-find-entry-point-on...-tp15461028p15461028.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
it describes how Mule invoke your components
regards
--
View this message in context: http://www.nabble.com/Exception%3A-Could-not-find-entry-point-on...-tp15461028p15502437.html