Yep, Thanks for the information. I defined the camel route in such a way that the end user will give user input through terminal ! No web interface involved here ! Anyway, I can always modify the structure.
With regards Balachandar -----Original Message----- From: Henryk Konsek [mailto:[email protected]] Sent: 04 February 2013 22:29 To: [email protected] Subject: Re: ServiceMix deploying a camel route Hi Amarnath, > Now I am able to deploy my DSL route. But this route needs an input from the > user. Your end-user won't use ServiceMix console, is she? :) You need to collect the input from the UI of your choice (like web application) and send it to the route via the message. For example: CLIENT CODE: String userSelection = ... ProducerTemplate producerTemplate = ...; producerTemplate.sendBody("direct:input_from_ui",userSelection); ROUTE DSL: from("direct:input_from_ui").to("log:smx").to("bean:myBusinessCompomenent"); You might be interesting in further reading regarding Camel templates [1]. Best regards. [1] http://camel.apache.org/producertemplate.html -- Henryk Konsek http://henryk-konsek.blogspot.com This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
