camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desysemia <>
Subject CXFRS URL Matrix Parameters seemingly stripped away
Date Thu, 14 Jun 2012 15:59:46 GMT
This is my first time posting here, so a big hello from me!

Let me start off by stating I'm quite new to Camel and CXF so the issue I'm
seeing might well just be my own doing.

I'm currently running FuseESB/ServiceMix 3.6/4.4.1 including Camel version

The short version:

is that the PathSegment.getMatrixParameters method returns an empty
collection if the resource is accessed through the URL made available
through the rsServer endpoint, but as expected when accessed through the
rsClient endpoint.  But therefore as I understand it not therefore using the
Camel route at all.  

So to me somewhere along the line Camel/CXF is stripping of the matrix
parameters, thoughts?

The long version:

So here goes with the scenario;

I have a Camel route defined using the rsServer and rsClient endpoints, and
I have a resource class implemented and used by both endpoints with a single
JAXRS annotated method as such;

@Path ( "object/{context}/{version}" )
public String getObject ( @PathParam ( "context" ) PathSegment context,
			@PathParam ( "version" ) float version );

This is invoked through the rsServer endpoint URL like so;


Then calling the getMatrixParameters method on the 'context' parameter
returns an empty collection.

However if this is invoked through the rsClient endpoint URL like so;


Then calling the getMatrixParameters method on the 'context' parameter
returns a collection containing the two key/value pairs as described.

Hopefully someone out there can point me in the right direction here?

Thanks in advance.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message