Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find in Metro tube which servlet or web service sent request to another web service?

 
Petr jcmldev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic