cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wulff, Oliver" <>
Subject Interceptor: How to verify the current context (inbound/outbound and request/response)
Date Mon, 29 Sep 2008 13:47:54 GMT
Hi there

I can check whether handleMessage is called in the context of inbound or outbound with the
following lines:

boolean isOutbound = message == message.getExchange().getOutMessage()
               || message == message.getExchange().getOutFaultMessage();

But how can I check whether it's outbound in the context before the request is sent or a response
is sent?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message