Return-Path: X-Original-To: apmail-servicemix-dev-archive@www.apache.org Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE0F787A7 for ; Mon, 5 Sep 2011 07:39:39 +0000 (UTC) Received: (qmail 8684 invoked by uid 500); 5 Sep 2011 07:39:39 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 8057 invoked by uid 500); 5 Sep 2011 07:39:25 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Delivered-To: moderator for dev@servicemix.apache.org Received: (qmail 51791 invoked by uid 99); 31 Aug 2011 14:24:25 -0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of pranay6723@gmail.com) Date: Wed, 31 Aug 2011 07:23:58 -0700 (PDT) From: pranay6723 To: dev@servicemix.apache.org Message-ID: <1314800638245-4754357.post@n5.nabble.com> In-Reply-To: <4E5E2ED6.4090703@nanthrax.net> References: <1314687449397-4749070.post@n5.nabble.com> <4E5CD3C4.1030500@nanthrax.net> <1314773150960-4753128.post@n5.nabble.com> <4E5DE621.3060403@nanthrax.net> <1314780937542-4753437.post@n5.nabble.com> <4E5DFC7B.3010207@nanthrax.net> <1314787269128-4753688.post@n5.nabble.com> <4E5E2ED6.4090703@nanthrax.net> Subject: Re: Creating a simple REST web service using servicemix camel MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Jean, Actually What I want to do is, I am having my data (in XML format) in activemq QUEUE, now i want to make it available for customers. For that i want to create a REST web service. The customers will call that webservice by sending GET or POST requests and retrieve that XML data. Is it possible?? I want to do it using Spring DSL and servicemix. If you are having some sample code regarding this please provide me.. can you tell me how to read activemq QUEUE and send the message/data to a rest web service?? I am stuck over this now.. Regards, Pranay -- View this message in context: http://servicemix.396122.n5.nabble.com/Creating-a-simple-REST-web-service-using-servicemix-camel-tp4749070p4754357.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.