Michael Gronau [
https://community.jboss.org/people/Michael_Gronau] created the discussion
"Client EJB interceptor problem - Context data deserialized to private data map on
server side."
To view the discussion, visit:
https://community.jboss.org/message/742649#742649
--------------------------------------------------------------
Hello,
I'm facing a problem with ejb interceptors. On the client side we put some custom data
to the EJBClientInvocationContext with
EJBClientInvocationContext.getContextData().put(...). This data map is serialized as
attachments into the invocation stream. On the server side we have a standard ejb
interceptor which tries to read this custom data with context.getContextData().get(...).
Some debugging has shown, that the ContextData map on the server side is deserialized into
the 'privateData' map (via readAttachements) to the enclosing InterceptorContext
instance of the current InvocationContext. So we cannot access this data from within our
interceptor. Is this by design or a bug?
Thanks alot,
Michael
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/742649#742649]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]