...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
from("direct:delete") .process(new SparqlDescribeProcessor()) .to("http4:localhost:3030/db/query") .process(new SparqlDeleteProcessor()) .to("http4:localhost:3030/db/update"); from("direct:new") .to("fcrepo:localhost:8080/rest?accept=application/n-triples") .process(new SparqlInsertProcessor()) .to("http4:localhost:3030/db/update"); from("direct:update") .process(new SparqlDescribeProcessor()) .to("http4:localhost:3030/db/query") .process(new SparqlDeleteProcessor()) .to("http4:localhost:3030/db/update") .setHeader("CamelHttpMethod", constant("GET")) .to("fcrepo:localhost:8080/rest?accept=application/n-triples") .process(new SparqlInsertProcessorSparqlUpdateProcessor()) .to("http4:localhost:3030/db/update"); |
...