hey guys I have a simple inbound quartz endpoint:
<mule-descriptor name="QuartzExtractorUMO"
implementation="com.aol.pubt.photos.mule.umo.OffLineDrmUMO">
<inbound-router>
<endpoint address="quartz:/photosOfflineDrmJob">
<properties>
<property name="repeatInterval"
value="${offlineDrmKickoffInterval}" />
<property name="startDelay"
value="${offlineDrmKickoffDelay}" />
<property name="payloadClassName"
value="java.lang.Object" />
</properties>
</endpoint>
</inbound-router>
</mule-descriptor>
OffLineDrmUMO has this entrypoint:
public void processDrm(Object foo)
{
try
{
ProvidersSet providers = (ProvidersSet) MuleManager.getInstance()
.getContainerContext().getComponent("providersList");
......
}
I get this exception everytime the scheduler kicks off the job:
ERROR 2007-10-13 17:57:52,610 [QuartzExtractorUMO.2] org.mule.impl.DefaultComponentExceptionStrategy:
********************************************************************************
Message : Could not find entry point on: "com.aol.pubt.photos.mule.umo.OffLineDrmUMO" with arguments: "{class org.mule.providers.NullPayload}"
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.aol.pubt.photos.mule.umo.OffLineDrmUMO" with arguments: "{class
org.mule.providers.NullPayload}" (org.mule.impl.NoSatisfiableMethodsException)
org.mule.impl.model.resolvers.DynamicEntryPoint:243 (
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.aol.pubt.photos.mule.umo.OffLineDrmUMO" with arguments: "{class org.mule.providers.NullPayload}"
at org.mule.impl.model.resolvers.DynamicEntryPoint.invoke
(DynamicEntryPoint.java:243)
at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:217)
at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
at
org.mule.impl.model.DefaultMuleProxy.run(DefaultMuleProxy.java:482)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:987)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:613)
********************************************************************************
It's pretty obvious why this is occuring..however I have tried the following things:
1) making entry take 0 args and not specifying payloadClassName
2) making entry method take a NullPayLoad object as arg and not specifying payloadClassName
3) making entry method take an Object as arg and not specifying payloadClassName
none of them works.
my entry point does not need any arguments but it doesn't seem like I can have the quartz scheduler just invoke my UMO with nothing.
thx
alessandro ferrucci