code: public static Map<String, Object> getInputMap(Message message, KnowledgeOperation operation, KnowledgeRuntimeEngine runtime) {
          Map<String, Object> map = new HashMap<String, Object>();
          List<ExpressionMapping> inputs = operation.getInputExpressionMappings();
          if (inputs.size() > 0) {
              map.putAll(getMap(message, inputs, null));
          } else {
              Object content = filterRemoteDefaultInputContent(message.getContent(), runtime);
              if (content != null) {
                  map.put(PARAMETER, content);
              }
          }
          return map;
      }
docs: Gets an input map.
  
  @param message the message
  @param operation the operation
  @param runtime the runtime engine
  @return the input map