How to configure CXF interceptors per deployment in jbossws-cxf ?

Solution Verified - Updated -

Issue

  • We have a scenario where we need to do some custom processing of an incoming soap message. Our initial approach was to configure a custom CXF interceptor.
  • We need to configure the interceptor per deployment (War). We found out that JBossWS supports declaring Apache CXF interceptors and features using configuration properties using jboss-webservices.xml starting from version 5.0.0. Is it possible to achieve a similar setup in EAP 6.4.x ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.x
  • JBossWS-CXF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.