camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] Commented: (CAMEL-3386) Support destination address override by CxfProvider and CxfrsProvider
Date Tue, 07 Dec 2010 21:35:14 GMT


Willem Jiang commented on CAMEL-3386:

Hi William

I'm sorry I just have a chance to review your patch. Here is my inputs:

1. You introduced a new header to override the target address CxfProvider and CxfRsProvider,
 which is same as the CXF Message.ENDPOINT_ADDRESS does.
    You and find the unit test of override the target address here[1]
2. As CXF create the interceptor chain dynamically,  you don't need to create a new Client
for each new address,  your solution is more like a Recipient List thing.


> Support destination address override by CxfProvider and CxfrsProvider
> ---------------------------------------------------------------------
>                 Key: CAMEL-3386
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-cxf
>            Reporter: William Tam
>            Assignee: William Tam
>            Priority: Minor
>             Fix For: 2.6.0
>         Attachments: CAMEL-3386.patch
> So far, users can only send requests to REST/SOAP service endpoints that have been explicitly
defined in Camel routes.  Sometimes, it is useful to override the destination address at runtime
(eliminating the need of adding an explicit route or the need of knowing about "future"  service
endpoint deployment at the configuring time).  The assumption is these service endpoints are
identical but running at different locations.  This feature can greatly simplify the route
configuration if there are tens (or hundreds) of identical services to be invoked.
> With the included patch, CxfProvider and CxfrsProvider will honor the CamelDestinationOverrideUrl
header and use the value as the target address.  

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message