synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asan...@apache.org
Subject svn commit: r523791 - /webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java
Date Thu, 29 Mar 2007 18:38:27 GMT
Author: asankha
Date: Thu Mar 29 11:38:26 2007
New Revision: 523791

URL: http://svn.apache.org/viewvc?view=rev&rev=523791
Log:
Fix SYNAPSE-66

Modified:
    webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java

Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java?view=diff&rev=523791&r1=523790&r2=523791
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java
(original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseModule.java
Thu Mar 29 11:38:26 2007
@@ -41,6 +41,8 @@
 import java.net.InetAddress;
 import java.net.UnknownHostException;
 import java.util.Iterator;
+import java.util.List;
+import java.util.ArrayList;
 
 /**
  * This is the Synapse Module implementation class, which would initialize Synapse when it
is
@@ -87,6 +89,10 @@
         AxisOperation mediateOperation = new InOutAxisOperation(MEDIATE_OPERATION_Q_NAME);
         mediateOperation.setMessageReceiver(new SynapseMessageReceiver());
         synapseService.addOperation(mediateOperation);
+        List transports = new ArrayList();
+        transports.add(org.apache.axis2.Constants.TRANSPORT_HTTP);
+        transports.add("https");
+        synapseService.setExposedTransports(transports);
         axisCfg.addService(synapseService);
 
         log.info("Deploying Proxy services...");



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message