cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kupkaj <>
Subject cxf 3.1.7 WS-RM persistence and policy assertion
Date Wed, 21 Sep 2016 10:14:11 GMT
I'm testing latest release and i've encountered a problem with storing RM
acknowledgements in RM persistence store.

This is snippet from
            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

View raw message