Pickup some ps-common improvements around Sarge
Change-Id: I21eb432c99c857a6d2340ab49765f52b5587d234
This commit is contained in:
parent
a6342f45a8
commit
402e8af63d
2
pom.xml
2
pom.xml
|
@ -15,7 +15,7 @@
|
|||
<properties>
|
||||
<versionNumber>1.0.0</versionNumber>
|
||||
<computedVersion>${versionNumber}-SNAPSHOT</computedVersion>
|
||||
<ps.common.version>1.0.0.280</ps.common.version>
|
||||
<ps.common.version>1.0.0.291</ps.common.version>
|
||||
<maas.commons.version>1.0.0.140</maas.commons.version>
|
||||
<dropwizard.version>0.6.1</dropwizard.version>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import com.hpcloud.messaging.rabbitmq.RabbitMQConfiguration;
|
|||
import com.hpcloud.messaging.rabbitmq.RabbitMQConnection.RabbitMQConnectionProvider;
|
||||
import com.hpcloud.messaging.rabbitmq.RabbitMQModule;
|
||||
import com.hpcloud.messaging.rabbitmq.RabbitMQService;
|
||||
import com.hpcloud.supervision.SupervisionModule;
|
||||
|
||||
import com.hpcloud.util.Injector;
|
||||
|
||||
public class MessagingModule extends AbstractModule {
|
||||
|
@ -20,7 +20,6 @@ public class MessagingModule extends AbstractModule {
|
|||
|
||||
@Override
|
||||
protected void configure() {
|
||||
install(new SupervisionModule());
|
||||
if (!Injector.isBound(RabbitMQConnectionProvider.class))
|
||||
install(new RabbitMQModule());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue