You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Kenny MacLeod (JIRA)" <ji...@apache.org> on 2009/01/30 09:29:59 UTC
[jira] Created: (CXF-2015) Add capability to configure per-request
client interceptors
Add capability to configure per-request client interceptors
-----------------------------------------------------------
Key: CXF-2015
URL: https://issues.apache.org/jira/browse/CXF-2015
Project: CXF
Issue Type: New Feature
Components: Core
Affects Versions: 2.1.2
Reporter: Kenny MacLeod
In its current form, CXF only allows you to configure a given client proxy with a fixed set of interceptors, which are set up when the proxy object is generated. In some cases, though, the interceptor stack needs to change on a per-request basis. There is no easy way to do this in the CXF API short of re-generating the client proxy each time.
I would like to see a way of wrapping the proxy with additional interceptors which applies only to the current invocation. These interceptors would be applies in addition to the statically-configured ones.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-2015) Add capability to configure per-request
client interceptors
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2015.
------------------------------
Resolution: Fixed
Fix Version/s: 2.2.5
> Add capability to configure per-request client interceptors
> -----------------------------------------------------------
>
> Key: CXF-2015
> URL: https://issues.apache.org/jira/browse/CXF-2015
> Project: CXF
> Issue Type: New Feature
> Components: Core
> Affects Versions: 2.1.2
> Reporter: Kenny MacLeod
> Assignee: Daniel Kulp
> Fix For: 2.2.5
>
>
> In its current form, CXF only allows you to configure a given client proxy with a fixed set of interceptors, which are set up when the proxy object is generated. In some cases, though, the interceptor stack needs to change on a per-request basis. There is no easy way to do this in the CXF API short of re-generating the client proxy each time.
> I would like to see a way of wrapping the proxy with additional interceptors which applies only to the current invocation. These interceptors would be applies in addition to the statically-configured ones.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-2015) Add capability to configure
per-request client interceptors
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768034#action_12768034 ]
Daniel Kulp commented on CXF-2015:
----------------------------------
Added properties that can be set on the request context:
/**
* Some properties to allow adding interceptors to the chain
* on a per-request basis. All are a Collection<Interceptor>
* These are NOT contextual properties (ie: not searched outside the message).
* They must exist on the message itself at time of Chain creation
*/
String IN_INTERCEPTORS = Message.class.getName() + ".IN_INTERCEPTORS";
String OUT_INTERCEPTORS = Message.class.getName() + ".OUT_INTERCEPTORS";
String FAULT_IN_INTERCEPTORS = Message.class.getName() + ".FAULT_IN_INTERCEPTORS";
String FAULT_OUT_INTERCEPTORS = Message.class.getName() + ".FAULT_OUT_INTERCEPTORS";
/**
* As above, but Collection<InterceptorProvider>
*/
String INTERCEPTOR_PROVIDERS = Message.class.getName() + ".INTERCEPTOR_PROVIDER";
> Add capability to configure per-request client interceptors
> -----------------------------------------------------------
>
> Key: CXF-2015
> URL: https://issues.apache.org/jira/browse/CXF-2015
> Project: CXF
> Issue Type: New Feature
> Components: Core
> Affects Versions: 2.1.2
> Reporter: Kenny MacLeod
> Assignee: Daniel Kulp
> Fix For: 2.2.5
>
>
> In its current form, CXF only allows you to configure a given client proxy with a fixed set of interceptors, which are set up when the proxy object is generated. In some cases, though, the interceptor stack needs to change on a per-request basis. There is no easy way to do this in the CXF API short of re-generating the client proxy each time.
> I would like to see a way of wrapping the proxy with additional interceptors which applies only to the current invocation. These interceptors would be applies in addition to the statically-configured ones.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-2015) Add capability to configure per-request
client interceptors
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-2015:
--------------------------------
Assignee: Daniel Kulp
> Add capability to configure per-request client interceptors
> -----------------------------------------------------------
>
> Key: CXF-2015
> URL: https://issues.apache.org/jira/browse/CXF-2015
> Project: CXF
> Issue Type: New Feature
> Components: Core
> Affects Versions: 2.1.2
> Reporter: Kenny MacLeod
> Assignee: Daniel Kulp
>
> In its current form, CXF only allows you to configure a given client proxy with a fixed set of interceptors, which are set up when the proxy object is generated. In some cases, though, the interceptor stack needs to change on a per-request basis. There is no easy way to do this in the CXF API short of re-generating the client proxy each time.
> I would like to see a way of wrapping the proxy with additional interceptors which applies only to the current invocation. These interceptors would be applies in addition to the statically-configured ones.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.