code: public Method getTargetMethod(Exchange exchange) {
  
          Object o = exchange.getBindingOperationInfo().getOperationInfo().getProperty(Method.class.getName());
  
          if (o != null && o instanceof Method) {
              return (Method)o;
          }
          else {
              throw new RuntimeException("Target method not found on OperationInfo");
          }
  
      }
docs: Utility method for getting the method which is going to be invoked on the service by underlying invoker.