I tried using the stream interceptor when using CXF configured with JMS Transport but it seems that

boolean isOutbound = false;
        isOutbound = message == message.getExchange().getOutMessage()
               || message == message.getExchange().getOutFaultMessage();

        if (isOutbound) {
            OutputStream os = message.getContent(OutputStream.class);

os is null when using jms but not when using straight http 

both are soap

is this a bug or doe i need to intercept in a different stream

i can see in the code where the message is being put into a JMSMessage but don't seem to find a way to intercept handily like with HTTP

Any ideas or examples?

Thanks
Sent from iCloud

Reply via email to