camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xueqiang.mi" <allo...@gmail.com>
Subject Re: [jira] Created: (CAMEL-1392) groovy renderer
Date Wed, 19 Aug 2009 07:43:36 GMT

I got a jersey problem:
To change the status of a route on the following page by send:
http://localhost:9998/routes/route1/status
http://www.nabble.com/file/p25039325/ss.jpg ss.jpg 
It is expected to be delivered into the following method of RouteResource
{code}
    @Path("status")
    public RouteStatusResource getRouteStatus() {
        return new RouteStatusResource(this);
    }
{code}
but now it goes into the postRouteForm method and throws exception,
{code}
    @POST
    @Consumes("application/x-www-form-urlencoded")
    public Response postRouteForm(@Context UriInfo uriInfo, Form formData)
throws URISyntaxException {
    // omission
    }
{code}
I don't know why it is sent there? Hope someone can give some explanation.
thanks.


JIRA jira@apache.org wrote:
> 
> groovy renderer
> ---------------
> 
>                  Key: CAMEL-1392
>                  URL: https://issues.apache.org/activemq/browse/CAMEL-1392
>              Project: Apache Camel
>           Issue Type: Sub-task
>             Reporter: James Strachan
> 
> 
> 
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28CAMEL-1392%29-groovy-renderer-tp22220288p25039325.html
Sent from the Camel Development mailing list archive at Nabble.com.


Mime
View raw message