Package org.switchyard.component.common.knowledge.config.model

Examples of org.switchyard.component.common.knowledge.config.model.RemoteJmsModel


            List<ExtraJaxbClassModel> extraJaxbClassList = extraJaxbClasses.getExtraJaxbClasses();
            Assert.assertEquals(2, extraJaxbClassList.size());
            Assert.assertEquals(Object.class, extraJaxbClassList.get(0).getClazz(loader));
            Assert.assertEquals(String.class, extraJaxbClassList.get(1).getClazz(loader));
            if (REMOTEJMS_XML.equals(xml)) {
                RemoteJmsModel remoteJms = (RemoteJmsModel)remote;
                Assert.assertEquals("remotehost", remoteJms.getHostName());
                Assert.assertEquals(4447, remoteJms.getRemotingPort().intValue());
                Assert.assertEquals(5455, remoteJms.getMessagingPort().intValue());
                Assert.assertEquals(true, remoteJms.isUseSsl());
                Assert.assertEquals("ksp", remoteJms.getKeystorePassword());
                Assert.assertEquals("/ksl", remoteJms.getKeystoreLocation());
                Assert.assertEquals("tsp", remoteJms.getTruststorePassword());
                Assert.assertEquals("/tsl", remoteJms.getTruststoreLocation());
            } else if (REMOTEREST_XML.equals(xml)) {
                RemoteRestModel remoteRest = (RemoteRestModel)remote;
                Assert.assertEquals("http://localhost:8080/kie-wb/", remoteRest.getUrl());
                Assert.assertEquals(true, remoteRest.isUseFormBasedAuth());
            }
View Full Code Here


            List<ExtraJaxbClassModel> extraJaxbClassList = extraJaxbClasses.getExtraJaxbClasses();
            Assert.assertEquals(2, extraJaxbClassList.size());
            Assert.assertEquals(Object.class, extraJaxbClassList.get(0).getClazz(loader));
            Assert.assertEquals(String.class, extraJaxbClassList.get(1).getClazz(loader));
            if (REMOTEJMS_XML.equals(xml)) {
                RemoteJmsModel remoteJms = (RemoteJmsModel)remote;
                Assert.assertEquals("remotehost", remoteJms.getHostName());
                Assert.assertEquals(4447, remoteJms.getRemotingPort().intValue());
                Assert.assertEquals(5455, remoteJms.getMessagingPort().intValue());
                Assert.assertEquals(true, remoteJms.isUseSsl());
                Assert.assertEquals("ksp", remoteJms.getKeystorePassword());
                Assert.assertEquals("/ksl", remoteJms.getKeystoreLocation());
                Assert.assertEquals("tsp", remoteJms.getTruststorePassword());
                Assert.assertEquals("/tsl", remoteJms.getTruststoreLocation());
            } else if (REMOTEREST_XML.equals(xml)) {
                RemoteRestModel remoteRest = (RemoteRestModel)remote;
                Assert.assertEquals("http://localhost:8080/kie-wb/", remoteRest.getUrl());
                Assert.assertEquals(true, remoteRest.isUseFormBasedAuth());
            }
View Full Code Here

TOP

Related Classes of org.switchyard.component.common.knowledge.config.model.RemoteJmsModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.