Piotr Kliczewski has uploaded a new change for review.

Change subject: [wip] hornetq changes
......................................................................

[wip] hornetq changes

Change-Id: I69e81ed28b568744d3cd8bb306f3942dbf4e08eb
Signed-off-by: pkliczewski <piotr.kliczew...@gmail.com>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/TransportFactory.java
1 file changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/64/36364/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/TransportFactory.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/TransportFactory.java
index 4a7cf30..8db5539 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/TransportFactory.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/TransportFactory.java
@@ -21,9 +21,9 @@
             int connectionTimeOut, int clientRetries, int heartbeat) {
         IIrsServer irsServer = null;
         if (VdsProtocol.STOMP == vdsProtocol) {
-            irsServer = new 
JsonRpcIIrsServer(JsonRpcUtils.createStompClient(hostname,
-                    port, connectionTimeOut, clientTimeOut, clientRetries, 
heartbeat,
-                    Config.<Boolean> 
getValue(ConfigValues.EncryptHostCommunication),
+            irsServer = new 
JsonRpcIIrsServer(JsonRpcUtils.createStompClient("localhost",
+                    61613, connectionTimeOut, clientTimeOut, clientRetries, 
heartbeat,
+                    false/*Config.<Boolean> 
getValue(ConfigValues.EncryptHostCommunication)*/,
                     Config.<String> getValue(ConfigValues.VdsmSSLProtocol)));
         } else if (VdsProtocol.XML == vdsProtocol){
             Pair<IrsServerConnector, HttpClient> returnValue =
@@ -49,9 +49,9 @@
                         Config.<Boolean> 
getValue(ConfigValues.EncryptHostCommunication));
 
         if (VdsProtocol.STOMP == vdsProtocol) {
-            vdsServer = new 
JsonRpcVdsServer(JsonRpcUtils.createStompClient(hostname,
-                    port, connectionTimeOut, clientTimeOut, clientRetries, 
heartbeat,
-                    Config.<Boolean> 
getValue(ConfigValues.EncryptHostCommunication),
+            vdsServer = new 
JsonRpcVdsServer(JsonRpcUtils.createStompClient("localhost",
+                    61613, connectionTimeOut, clientTimeOut, clientRetries, 
heartbeat,
+                    false/*Config.<Boolean> 
getValue(ConfigValues.EncryptHostCommunication)*/,
                     Config.<String> getValue(ConfigValues.VdsmSSLProtocol)), 
returnValue.getSecond());
         } else if (VdsProtocol.XML == vdsProtocol) {
             vdsServer = new VdsServerWrapper(returnValue.getFirst(), 
returnValue.getSecond());


-- 
To view, visit http://gerrit.ovirt.org/36364
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69e81ed28b568744d3cd8bb306f3942dbf4e08eb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczew...@gmail.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to