This is close to what I want:

http://cxf.apache.org/docs/multiplexed-endpointreferences.html

Except the "Number" class isn't really stateful. It can get an instanceId
from the message context. I guess you could use that to look into some kind
of HashMap that contains the state data you need but that sounds fairly
messy:

  MessageContext messageContext = wsContext.getMessageContext();
  String stateKey =
EndpointReferenceUtils.getCurrentEndpointReferenceId(messageContext);
  stateData = stateMap.get(stateKey);
  

-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Stateful-web-services-with-CXF-tp3212822p3214696.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to