Class AmbiguousMethodCallException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.camel.RuntimeCamelException
org.apache.camel.RuntimeExchangeException
org.apache.camel.component.bean.AmbiguousMethodCallException
All Implemented Interfaces:
Serializable

public class AmbiguousMethodCallException extends org.apache.camel.RuntimeExchangeException
An exception thrown if an attempted method invocation resulted in an ambiguous method such that multiple methods match the inbound message exchange
See Also:
  • Constructor Details

    • AmbiguousMethodCallException

      public AmbiguousMethodCallException(org.apache.camel.Exchange exchange, Collection<MethodInfo> methods)
  • Method Details

    • getMethods

      public Collection<MethodInfo> getMethods()
      The ambiguous methods for which a single method could not be chosen