On Fri, Jun 21, 2013 at 2:12 PM, indrayani <ind.k...@gmail.com> wrote:
> Hi,
> i have a route defined as follows :
>
>  <route id="route123">
>       <from uri="servlet:///servletA"/>
>       <to uri="activemq:queue:inbox"/>
>     </route>
>
> currently i am calling a servlet as using following url :
>
> http://localhost:8082/camel-example-activemq-tomcat/camel/servletA
>
> my query is,  is it possible to use the route id in the servlet url ?
>
> that is insted of using ' /camel-example-activemq-tomcat/camel/servletA ' ,
> can i use route id something like this '
> /camel-example-activemq-tomcat/camel/route123 '
>

No its a servlet, so you define the mapping in the web.xml file.
And as well in the uri. So in the camel uri, you can define it as
"servlet://route123"


>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Regarding-came-route-id-tp5734531.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
www.camelone.org: The open source integration conference.

Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to