You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by gquintana <ge...@gmail.com> on 2014/10/08 22:57:01 UTC

Rest DSL with Jetty

Hello,

I am playing with the new REST DSL:


1) The context path is not taken into account:


2) I can't bind both "post" and "get" verbs on the same path:


What did I miss?

Gérald



--
View this message in context: http://camel.465427.n5.nabble.com/Rest-DSL-with-Jetty-tp5757418.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Rest DSL with Jetty

Posted by Willem Jiang <wi...@gmail.com>.
FYI I already committed a patch into master and camel-2.14.x branch.
Please feel free to try the last version of 2.14.1-SNAPSHOT.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On October 9, 2014 at 9:52:12 AM, Willem Jiang (willem.jiang@gmail.com) wrote:
> It’s bug of camel-jetty, I just created a JIRA[1] for it.
> The hot fix is on the way.
>  
> [1]https://issues.apache.org/jira/browse/CAMEL-7899
>  
> --
> Willem Jiang
>  
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English)
> http://jnn.iteye.com (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>  
>  
>  
> On October 9, 2014 at 4:57:29 AM, gquintana (gerald.quintana@gmail.com) wrote:
> > Hello,
> >
> > I am playing with the new REST DSL:
> >
> >
> > 1) The context path is not taken into account:
> >
> >
> > 2) I can't bind both "post" and "get" verbs on the same path:
> >
> >
> > What did I miss?
> >
> > Gérald
> >
> >
> >
> > --
> > View this message in context: http://camel.465427.n5.nabble.com/Rest-DSL-with-Jetty-tp5757418.html  
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>  
>  


Re: Rest DSL with Jetty

Posted by Willem Jiang <wi...@gmail.com>.
It’s bug of camel-jetty, I just created a JIRA[1] for it.
The hot fix is on the way.

[1]https://issues.apache.org/jira/browse/CAMEL-7899

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On October 9, 2014 at 4:57:29 AM, gquintana (gerald.quintana@gmail.com) wrote:
> Hello,
>  
> I am playing with the new REST DSL:
>  
>  
> 1) The context path is not taken into account:
>  
>  
> 2) I can't bind both "post" and "get" verbs on the same path:
>  
>  
> What did I miss?
>  
> Gérald
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Rest-DSL-with-Jetty-tp5757418.html  
> Sent from the Camel - Users mailing list archive at Nabble.com.
>