Hello,

I am using CXF 2.2.5.  Below is my destination. When the method is a @Oneway, 
onMessage spawns off a thread to invoke the @Oneway function.

How can I get CXF to invoke the @Oneway function using the same thread that 
invoked toCXF()?

Thanks...

class MyDestination
  extends AbstractMultiplexDestination
{
  public void toCXF()
 {
        MessageImpl cxfmsg = new MessageImpl();

        cxfmsg.setContent(someContentStream);
        cxfmsg.setDestination(this);

        ExchangeImpl exchange = new ExchangeImpl();
        exchange.setInMessage(cxfmsg);

        BusFactory.setThreadDefaultBus(bus);
        incomingObserver.onMessage(cxfmsg}
}
}



Reply via email to