jboss-webservices.xml is not recognised for SOAP gateway binding in FSW 6

Solution Verified - Updated -

Issue

  • We are trying to configure a SOAP gateway binding for a SwitchYard application as JMS or one-way web service.
  • We would like to customise the properties of AutomaticWorkQueue used by this one-way web service, such as the max queue size.
  • According to the following JBoss WS documentation, we seem to be able to customise them by using jboss-webservices.xml.
  • However, even though we put jboss-webservices.xml under META-INF/ directory in the SwitchYard application, this descriptor appears to be ignored by FSW, as we still see the default values for AutomaticWorkQueue in the log as follows (we turned on FINE logging for the org.apache.cxf.workqueue.AutomaticWorkQueueImpl class):
17:43:48,903 FINE  [org.apache.cxf.workqueue.AutomaticWorkQueueImpl] (http-localhost/127.0.0.1:8080-1) Constructing automatic work queue with:
max queue size: 256
initialThreads: 0
lowWaterMark: 5
highWaterMark: 25
  • The content of our jboss-webservices.xml file is as follows:
<?xml version="1.1" encoding="UTF-8"?>
<webservices
    xmlns="http://www.jboss.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="1.0"
    xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss_webservices_1_0.xsd">

    <property>
        <name>cxf.queue.default.maxQueueSize</name>
        <value>500</value>
    </property>

</webservices>

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content