15 Jan 14:51
TooManySatisfiableMethodsException (yet again)
From: Jan-Olav Eide <Jan-Olav.Eide@...>
Subject: TooManySatisfiableMethodsException (yet again)
Newsgroups: gmane.comp.java.mule.user
Date: 2007-01-15 13:51:51 GMT
Subject: TooManySatisfiableMethodsException (yet again)
Newsgroups: gmane.comp.java.mule.user
Date: 2007-01-15 13:51:51 GMT
I thought I had this sorted out, but alas.... (Mule version 1.3.3) I am still struggling with TooManySatisfiableMethodExceptions.... From poking around in DynamicEntryPoint.java, I see that it tries to fetch the method name from the property MULE_METHOD_PROPERTY: Object methodOverride = context.getMessage().removeProperty(MuleProperties.MULE_METHOD_PROPERTY) ; This property is not set, so it explains why I get the exception, what I do not understand is _why_ the property is not set. The strange thing is that the MULE_ENDPOINT property does indeed contain the method name: MULE_ENDPOINT=vm://persister?method=doPersist How can I make the method name appear as a MULE_METHOD_PROPERTY and not as part of the MULE_ENDPOINT ? In the configuration below both the endpoint definition and the component declares a service method. I fail to see why this is necessary in two places, but examples in other posts seem to indicate that this is necessary. A (link to) a working sample configuration would be much appreciated. What is wrong with the seemingly simple configuration below? My endpoint configuration is: <endpoint-identifier name="Persister" value="vm://persister?method=doPersist"/> And my component is: <mule-descriptor name="pStore" implementation="pStore"> <inbound-router> <endpoint address="Persister"> <filter className="no.fast.mule.filters.RDFFilter"> </endpoint> </inbound-router> outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="file://tmp"/> </router> </outbound-router> <interceptor name="default" /> <properties> <property name="MULE_SERVICE_METHOD" value="doPersist"/> </properties> </mule-descriptor> FASTforward '07 The Industry's Largest Business & Technology Conference Focused on Search February 7th - 9th, San Diego, CA www.fastforward07.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
RSS Feed