Class AtlasmapResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.atlasmap.it.AtlasmapResource
-
@Path("/atlasmap") @ApplicationScoped @Produces("application/json") @Consumes("application/json") public class AtlasmapResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description AtlasmapResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconvertCsv2JsonWithAdm(String csv)StringconvertCsv2JsonWithJson(String csv)StringconvertCsv2XmlWithJson(String csv)StringconvertJava2JsonWithJson(Person person)StringconvertJava2XmlWithJson(Person person)StringconvertJson2CsvWithJson(String json)PersonconvertJson2JavaWithJson(String json)StringconvertJson2JsonWithJson(String json)StringconvertJson2XmlWithAdm(String xml)StringconvertJson2XmlWithJson(String xml)StringconvertXml2CsvWithJson(String xml)PersonconvertXml2JavaWithJson(String xml)StringconvertXml2JsonWithAdm(String json)StringconvertXml2JsonWithJson(String json)StringconvertXml2XmlWithAdm(String xml)StringconvertXml2XmlWithJson(String xml)
-
-
-
Method Detail
-
convertJava2JsonWithJson
@GET @Path("json/java2json") public String convertJava2JsonWithJson(Person person)
-
convertJson2JavaWithJson
@GET @Path("json/json2java") public Person convertJson2JavaWithJson(String json)
-
convertJson2XmlWithJson
@GET @Path("json/json2xml") public String convertJson2XmlWithJson(String xml)
-
convertXml2JsonWithJson
@GET @Path("json/xml2json") public String convertXml2JsonWithJson(String json)
-
convertXml2JsonWithAdm
@GET @Path("adm/xml2json") public String convertXml2JsonWithAdm(String json)
-
convertJava2XmlWithJson
@GET @Path("json/java2xml") public String convertJava2XmlWithJson(Person person)
-
convertXml2JavaWithJson
@GET @Path("json/xml2java") public Person convertXml2JavaWithJson(String xml)
-
convertJson2JsonWithJson
@GET @Path("adm/json2json") public String convertJson2JsonWithJson(String json)
-
convertJson2CsvWithJson
@GET @Path("json/json2csv") public String convertJson2CsvWithJson(String json)
-
convertCsv2JsonWithJson
@GET @Path("json/csv2json") public String convertCsv2JsonWithJson(String csv)
-
-