quarkiverse / quarkus-cxf

Quarkus CXF Extension to support SOAP based web services.
Apache License 2.0
72 stars 57 forks source link

Dynamic Schema-Validation breaks kafka error strategy / retry mechanism #1250

Closed cj19 closed 5 months ago

cj19 commented 5 months ago

I am using quarkus framework and I have the schema validation turned on with the following setting:

quarkus.cxf.client."client".schema-validation.enabled-for=out

The kafka setting looks like this:

mp.messaging.incoming.channel.failure-strategy=ignore

I am trying to break the consuming retry mechanism with the following annotation setting: @Retry(delay = 200, maxRetries = -1, maxDuration = 0, abortOn = { AbortRetryException.class, MarshalException.class })

If the schema validation fails then AbortRetryException being thrown, but after I turned on the schema validation this does not work anymore. Is there any special configuration that I need to use to make this work?

ppalaga commented 5 months ago

If the schema validation fails then AbortRetryException being thrown, but after I turned on the schema validation this does not work anymore.

Sorry, I am not sure I follow what you do and what happens. A reproducer would explain everything in the most effective way.