Hi One & All
While we are working on Delegate (for cxfbc:provider) for FUSE, we have some
technical issues and need some assistance.
Problem Description
In OUT interceptor of a CXF provider, how can we stop the provider invoking
its endpoint and send a response back?
Example:
I have a cxfbc:provider with some interceptors configured for both IN and
OUT flows. When the cxf provider is making a request, the OUT interceptor
gets invoked and in this interceptor I would like to stop invoking actual
endpoint and send back my own response. That means I should be able to tell
the interceptor chain to stop further processing of this flow, set a
response message into message exchange and invoke the IN flow. How do I do
that?
This kind of mediation/interception is possible in standard specifications
like JAX-RPC, JAX-WS, Servlets etc… wondering if CXF provides any sort of
this kind.
Also we would like to know who is invoking a provider endpoint in CXF stack
in FUSE? Is it an OUT interceptor at the end of interceptor chain or some
other transport component after the interceptor chain?
Thanks in Advance
Suresh
--
View this message in context:
http://www.nabble.com/In-OUT-interceptor-of-a-CXF-provider%2C-how-can-we-stop-the-provider-invoking-its-endpoint-and-send-a-response-back--tp25675554p25675554.html
Sent from the cxf-user mailing list archive at Nabble.com.