This discussion is archived
0 Replies Latest reply: Jun 22, 2012 6:54 PM by 945386 RSS

How to find in Metro tube which service sent request to another service

945386 Newbie
Currently Being Moderated
Hi Guys,

I have following question regarding use of Metro tubes:

In SOA system composed of number of Web Services deployed on multiple GlassFish servers (with Metro container); I have a tube library which is loaded on start of GlassFish and for each request message sent by any servlet or Web Service to another Web Service needs to detect address of the destination service (that is the easy bit) and which servlet or Web Service sent the request (here is the problem). This information is not contained in the packet. I would expect it should be possible to find it in the context object ClientTubelineAssemblyContext and getContainer(), however, so far I have not found out how.

Any help will be appreciated
Petr

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points