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