1

Please help, looking for a camel-restlet sample with no Spring to expose POST rest API.

bmk1977
  • 141
  • 3
  • 10

1 Answers1

0

The best way to look for examples is looking at the Apache Camel source code, specifically to the tests. You can find many examples and probably what you are looking for. Take a look here.

hveiga
  • 6,725
  • 7
  • 54
  • 78
  • Hi, All these examples URIs are from("restlet:http://localhost:" + portNum + "/users/ ..etc.."). – bmk1977 Feb 26 '14 at 07:42
  • Thank you, all these examples based on from("restlet:http://localhost:" + portNum + "/users/ ..etc.."). We need to host within JBOSS container, for example from("restlet:/enqueue?restletMethod=POST"). The same code is working with Spring [org.restlet.jee:org.restlet.ext.spring] not without Spring [org.restlet.jee:org.restlet.ext.servlet]. – bmk1977 Feb 26 '14 at 07:48
  • 1
    You should update your question with more details about what is not working. – hveiga Feb 26 '14 at 15:05