Author: ffang
Date: Mon Feb 23 04:19:23 2009
New Revision: 746877
URL: http://svn.apache.org/viewvc?rev=746877&view=rev
Log:
[SMXCOMP-461]Fix smx-cxf-bc consumer timeout property JavaDoc and code
interpretation
Modified:
servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
Modified:
servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
URL:
http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java?rev=746877&r1=746876&r2=746877&view=diff
==============================================================================
---
servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
(original)
+++
servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/CxfBcConsumer.java
Mon Feb 23 04:19:23 2009
@@ -692,7 +692,7 @@
} else if (CxfBcConsumer.this.isSynchronous()
&& !CxfBcConsumer.this.isOneway) {
context.getDeliveryChannel().sendSync(exchange,
- timeout);
+ timeout * 1000);
process(exchange);
} else {
synchronized (((ContinuationProvider) message.get(
@@ -949,8 +949,8 @@
* Specifies the interval for which the endpoint will wait for a
* response, This is specified in seconds.
*
- * @param timeout the number of millis to wait for a response
- * @org.apache.xbean.Property description="the number of millis the
endpoint will wait for a response. The default is 1 hour."
+ * @param timeout the number of second to wait for a response
+ * @org.apache.xbean.Property description="the number of second the
endpoint will wait for a response. The default is unlimited."
**/
public void setTimeout(long timeout) {
this.timeout = timeout;