Author: chris.laprun(a)jboss.com
Date: 2009-11-30 08:02:14 -0500 (Mon, 30 Nov 2009)
New Revision: 863
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/registry/xml/XMLConsumerRegistry.java
Log:
- Always try to activate consumers loaded from XML.
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/registry/xml/XMLConsumerRegistry.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/registry/xml/XMLConsumerRegistry.java 2009-11-30
10:33:50 UTC (rev 862)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/registry/xml/XMLConsumerRegistry.java 2009-11-30
13:02:14 UTC (rev 863)
@@ -101,11 +101,8 @@
ProducerInfo producerInfo = consumer.getProducerInfo();
try
{
- // if the producer is marked as active, activate it fo' real! :)
- if (producerInfo.isActive())
- {
- activateConsumer(consumer);
- }
+ // try to activate the consumer
+ activateConsumer(consumer);
}
catch (Exception e)
{