Author: chris.laprun(a)jboss.com
Date: 2007-03-13 13:30:51 -0400 (Tue, 13 Mar 2007)
New Revision: 6654
Modified:
trunk/wsrp/src/main/org/jboss/portal/test/wsrp/framework/support/MockConsumerRegistry.java
Log:
- Correctly set the expiration cache value from createConsumer.
Modified:
trunk/wsrp/src/main/org/jboss/portal/test/wsrp/framework/support/MockConsumerRegistry.java
===================================================================
---
trunk/wsrp/src/main/org/jboss/portal/test/wsrp/framework/support/MockConsumerRegistry.java 2007-03-13
16:32:18 UTC (rev 6653)
+++
trunk/wsrp/src/main/org/jboss/portal/test/wsrp/framework/support/MockConsumerRegistry.java 2007-03-13
17:30:51 UTC (rev 6654)
@@ -77,6 +77,7 @@
public WSRPConsumer createConsumer(String id, Integer expirationCacheSeconds)
{
MockWSRPConsumer consumer = new MockWSRPConsumer(id);
+ consumer.getProducerInfo().setExpirationCacheSeconds(expirationCacheSeconds);
consumers.put(id, consumer);
return consumer;
}