jboss-webservices.xml is not recognised for SOAP gateway binding in FSW 6
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
underMETA-INF/
directory in the SwitchYard application, this descriptor appears to be ignored by FSW, as we still see the default values forAutomaticWorkQueue
in the log as follows (we turned onFINE
logging for theorg.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.