Ok, so this doesn't seem right.  If I don't handle streams, I can get the 
invocation metadata, but I CAN'T get this metadata if I'm handling streams.

Why do I get the InvocationHandler in the invoke()...

   public Object invoke( InvocationRequest invocation )

...but yet I can't get that same data if the request happens to be passing 
streamed data:

   public Object handleStream( InputStream in,  Object payload )

It seems the APIs here should be similar - since they are both the integration 
points for receiving requests (one just happens to have a stream).  I'm 
thinking the APIs should have been more identical:

   public Object invoke(InvocationRequest invocation)
   public Object handleStream(InputStream in, InvocationRequest invocation)

See what I mean?

The problem now is, if I'm getting a stream, I can't find out what subsystem my 
handler is in.  I can't get anything related to the invocation request because 
the API has stripped that data from me.

Am I missing something?  How can I get InvocationRequest metadata if I'm 
handling a stream request?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938656#3938656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938656


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to