Description of problem: We would like to be able to configure the port of the embedded Netty server when we run our junit tests. The reason for this is that port 8080 is occupied in some of our development PCs. There is already a community issue created for this: https://issues.jboss.org/browse/SWITCHYARD-2232
https://issues.jboss.org/browse/SWITCHYARD-2232 has been closed with the comment: Found that if binding is http or rest, you have to set one of these properties (different ports should be used). System.setProperty("org.switchyard.component.resteasy.standalone.port", "8081"); System.setProperty("org.switchyard.component.http.standalone.port", "8082"); on the JUnit test with a @BeforeDeploy annotation. See https://issues.jboss.org/browse/SWITCHYARD-2231 In case of soap service, socketAddr must be set on the binding. https://github.com/jboss-switchyard/quickstarts/blob/master/bean-service/src/main/resources/META-INF/switchyard.xml#L23 Not very consistent, but working. Based on that I'm closing this too.