protected void configure() {
try {
Message.addExtensionFactory(AxMessage2.class);
} catch (MessageException e) {
throw new CreationException(null);
}
try {
Message.addExtensionFactory(HybridOauthMessage.class);
} catch (MessageException e) {
throw new CreationException(null);
}
bind(ConsumerAssociationStore.class)
.to(InMemoryConsumerAssociationStore.class)
.in(Scopes.SINGLETON);