On Tuesday 09 March 2010 12:39:57 am Coder One wrote: > Inside a subclass of AbstractConduit and the function public void > prepare(Message message), > > message.getExchange().isOneWay() is never true. It's always false even if > the function is a "void say(SayRequest req)" > > Is this a bug? How would I detect a function is "void" and hence really > can be treated as one-way/non-blocking? > > Thank-you...
Per spec, a void return is still not considered a one way call. It still needs to have a response message. If you add a @Oneway annotation to the method, that will mark it as a oneway and the exchange flag should then be set properly. -- Daniel Kulp [email protected] http://dankulp.com/blog
