Author: chris.laprun(a)jboss.com
Date: 2010-02-25 18:04:21 -0500 (Thu, 25 Feb 2010)
New Revision: 1869
Modified:
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/consumer/mapping/EndpointInfoMapping.java
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/consumers-configuration-nodetypes.xml
Log:
- GTNPORTAL-766: Forgot to add property for WS timeout.
Modified:
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/consumer/mapping/EndpointInfoMapping.java
===================================================================
---
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/consumer/mapping/EndpointInfoMapping.java 2010-02-25
21:35:01 UTC (rev 1868)
+++
portal/trunk/component/wsrp/src/main/java/org/gatein/portal/wsrp/state/consumer/mapping/EndpointInfoMapping.java 2010-02-25
23:04:21 UTC (rev 1869)
@@ -41,14 +41,21 @@
public abstract void setWSDLURL(String wsdlURL);
+ @Property(name = "timeout")
+ public abstract Integer getWSTimeoutMilliseconds();
+
+ public abstract void setWSTimeoutMilliseconds(Integer expiration);
+
public void initFrom(EndpointConfigurationInfo info)
{
setWSDLURL(info.getWsdlDefinitionURL());
+ setWSTimeoutMilliseconds(info.getWSOperationTimeOut());
}
EndpointConfigurationInfo toEndpointConfigurationInfo(EndpointConfigurationInfo
initial)
{
initial.setWsdlDefinitionURL(getWSDLURL());
+ initial.setWSOperationTimeOut(getWSTimeoutMilliseconds());
return initial;
}
}
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/consumers-configuration-nodetypes.xml
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/consumers-configuration-nodetypes.xml 2010-02-25
21:35:01 UTC (rev 1868)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/wsrp/consumers-configuration-nodetypes.xml 2010-02-25
23:04:21 UTC (rev 1869)
@@ -88,6 +88,10 @@
onParentVersion="COPY" protected="false"
multiple="false">
<valueConstraints/>
</propertyDefinition>
+ <propertyDefinition name="timeout" requiredType="Integer"
autoCreated="false" mandatory="false"
+ onParentVersion="COPY" protected="false"
multiple="false">
+ <valueConstraints/>
+ </propertyDefinition>
</propertyDefinitions>
</nodeType>
Show replies by date