Look in following three areas: Servlet - http requests and responses (handles POST, GET etc) Message Bean - Support stateless services (RESTful CRUD operations - POST, GET etc) with JMS interface CDI (Contexts and Dependency Injection) - manipulate the link between the web tier (http services) and transaction tier (messaging). ________________________________________ From: Sajjad [[email protected]] Sent: Sunday, September 15, 2013 10:54 AM To: [email protected] Subject: REST interface to underlying REST Service
Hi There I am using ActiveMQ to load balance multiple instances of a service, distributed across multiple servers. Each queue corresponds to a particular service type, which may have multiple service instances. For example, the orders REST service may have 5 instances all exposed by the single orders queue. My goal is to hide the multiple service instances from consumers, but allow consumers to interact with a restful interface with the orders queue. The native rest interace provided by ActiveMQ may work for POST, but it will not work as intended for GET or DELETE. Suppose I want to execute: GET http://www.acme.com/phonebook/UserDetails/12345 How can this be facilitated? Note that 12345 is the unique record ID that I wish to retrieve. This will not correspond to the current unconsumed message in the queue. Thank you! -- View this message in context: http://activemq.2283324.n4.nabble.com/REST-interface-to-underlying-REST-Service-tp4671508.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
