I'm testing latest release and i've encountered a problem with storing RM
acknowledgements in RM persistence store.

This is snippet from org.apache.cxf.ws.rm.DestinationSequence.acknowledge()
            RMStore store = destination.getManager().getStore();
            if (null != store) {
                // only save message, when policy verification is successful
                // otherwise msgs will be stored and redelivered which do
not pass initial verification
                // as interceptor is called in a later phase than the
                PolicyVerificationInInterceptor intercep = new
                boolean policiesVerified = false;
                try {
                    policiesVerified = true;
                } catch (Fault e) {
                    // Ignore
on my endpoint a have configured RMAssertion and Addressing policies.
Problem is, policy verification is failing constantly in code above. How
could it not, when these policies are asserted only later in message
As a result, incomming message and acknowledgemet are not persisted and in
addition warning is logged for every incomming message:
ERROR PolicyVerificationInInterceptor - Inbound policy verification failed:
These policy alternatives can not be satisfied: 

Is this a bug, or am I doing something wrong on my end?

View this message in context: 
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to