use of org.apache.cxf.transport.jms.JMSConfiguration in project jbossws-cxf by jbossws.
the class JMSEndpointOnlyDeploymentTestCase method setupProxy.
private void setupProxy(HelloWorld proxy) {
JMSConduit conduit = (JMSConduit) ClientProxy.getClient(proxy).getConduit();
JMSConfiguration config = conduit.getJmsConfig();
config.setUserName(JBossWSTestHelper.getTestUsername());
config.setPassword(JBossWSTestHelper.getTestPassword());
Properties props = conduit.getJmsConfig().getJndiEnvironment();
props.put(Context.SECURITY_PRINCIPAL, JBossWSTestHelper.getTestUsername());
props.put(Context.SECURITY_CREDENTIALS, JBossWSTestHelper.getTestPassword());
}
use of org.apache.cxf.transport.jms.JMSConfiguration in project jbossws-cxf by jbossws.
the class JMSHTTPEndpointDeploymentTestCase method setupProxy.
private void setupProxy(HelloWorld proxy) {
JMSConduit conduit = (JMSConduit) ClientProxy.getClient(proxy).getConduit();
JMSConfiguration config = conduit.getJmsConfig();
config.setUserName(JBossWSTestHelper.getTestUsername());
config.setPassword(JBossWSTestHelper.getTestPassword());
Properties props = conduit.getJmsConfig().getJndiEnvironment();
props.put(Context.SECURITY_PRINCIPAL, JBossWSTestHelper.getTestUsername());
props.put(Context.SECURITY_CREDENTIALS, JBossWSTestHelper.getTestPassword());
}
Aggregations