For custom transport and @Oneway methods, I got the client side right, but the
service side perplexes me. Here is the current code. Using logs, I can see
that getInbuiltBackChannel() is called even when the function is @Oneway. Is
that supposed to happen? How should I setup myListener() to prevent
getInbuiltBackChannel() from being called? After all, it is a oneway function.
Thanks...
public class MyDestination
implements MyListener
extends AbstractMultiplexDestination
{
public void myListener(InputStream msgData)
{
MessageImpl cxfMsg = new MessageImpl();
cxfMsg.setContent(InputStream.class,msgData);
cxfMsg.setDestination(this);
incomingObserver.onMessage(cxfMsg);
}
protected Conduit getInbuiltBackChannel(Message cxfMsg)
{
// Why is this function called when there is a @Oneway function?
}
}