cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aki Yoshida <elak...@googlemail.com>
Subject Re: Process id or similar in org.apache.cxf.message.Message?
Date Tue, 02 Aug 2011 19:09:55 GMT
Hi,
if you want to distinguish your scenario based on, for example, the
endpoint information,
you can get the endpoint object from the message by

Endpoint ep = message.getExchange().get(Endpoint.class)

regards, aki

2011/8/2 chandrasekhares <chandrasekhar.elindram@uhc.com>:
> I'm using AbstractPhaseInterceptor to implement In/Out interceptors, where my
> In interceptor sets the phase as Phase.RECEIVE and out interceptor as
> Phase.SEND. When I'm in out interceptor's handleMessage() method is there a
> way to know for which web service request this method is called? Is there
> anything like a process id or similar in Message object to know this call is
> for a particular request?
>
> Best regards,
> Chandra.
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Process-id-or-similar-in-org-apache-cxf-message-Message-tp4659457p4659457.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>

Mime
View raw message