This is the sample code
clojure file ::
(defn send-to-geolocation-touchpoint [id services {:keys [code]}]
(log :info (str "inside the send-to-location-touchpoint"))
(let [body (doto (MainSample.)
(.myResult code))]
body)
java file::
public class MainSample {
public Map myResult(final
String Cdoe,final String Id){
Logger LOG = Logger.getLogger(MainSample.class);
Map result=null;
try{
result.put("area_code",Cdoe);
result.put("id",Id);
return result;}
catch (Exception e){
System.out.println(e);
}
return result;
}
}