GitHub user christophd opened a pull request:
https://github.com/apache/camel/pull/490
Added uripath endpoint mapping for spring-ws route endpoints
Extended Camel endpoint mapping for spring-ws endpoints, so routes can use
uri path instead of complete WebService uri. This way route definitions are
independent of host and port specifications that may be different in test and
production environments.
Uri path is defined as resource path in a WebService URI:
[<scheme>://]<host>:[<port>]<uri-path>[#<fragment>][?<query-params>]
Endpoint mapping implementation does supports wildcard character at the uri
path end, such as:
spring-ws:uripath:/sample/services*
This mapping would match following request URIs:
http://localhost:8080/sample/services
http://somehost/sample/services
http://localhost:8888/sample/services/test
http://localhost/sample/services/foo?version=1.0
This way route definitions are independent of host, port and query
parameters that are likely to change in different environments.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/christophd/camel master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/490.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #490
----
commit f0491bc200d9a4882b08c8a4b477cf85b4c124c6
Author: christophd <[email protected]>
Date: 2015-04-16T09:58:24Z
Added uripath endpoint mapping for spring-ws route endpoints
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---