0 Replies Latest reply on Dec 27, 2012 12:34 PM by Oscar cs

    Attaching contextual information on the remote EJB response

    Oscar cs Newbie



      I know that it's possible to use the the EJBClient to send contextual data to the server from a remote client. The server gets this data in an interceptor, for example, by calling InvocationContext.getContextData.

      But for my purposes I need to do it in the reverse way, that is, I want to put some contextual data in the server interceptor that should be received at the client as an attachment with the result.

      Browsing the code it seems that the MethodInvocationMessageHandler filters the message attachment so only the Affinity key is returned to the client context.

      Is there any way to achive this?


      Thanks in advance.