public class JeeMqttMessageSendingModule
extends com.google.inject.AbstractModule
MqttModule, but configures the JeeMqttMessagingSkeletonProvider so that if
the JeeIntegrationPropertyKeys.JEE_ENABLE_HTTP_BRIDGE_CONFIGURATION_KEY property
is set to true, messages are only sent via MQTT, but not received via MQTT.
In the case of the HTTP bridge, this is so that we can receive messages via HTTP from the
JeeServletMessageReceiver in order for a load balancer to be able to distribute the load across a JEE
cluster.| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_KEY_MQTT_BROKER_URI |
static String |
PROPERTY_KEY_MQTT_RECONNECT_SLEEP_MS |
| Constructor and Description |
|---|
JeeMqttMessageSendingModule(com.google.inject.multibindings.MapBinder<Class<? extends joynr.system.RoutingTypes.Address>,io.joynr.messaging.IMessagingSkeleton> messagingSkeletonFactory,
com.google.inject.multibindings.MapBinder<Class<? extends joynr.system.RoutingTypes.Address>,io.joynr.messaging.AbstractMiddlewareMessagingStubFactory<? extends io.joynr.messaging.IMessagingStub,? extends joynr.system.RoutingTypes.Address>> messagingStubFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure() |
joynr.system.RoutingTypes.MqttAddress |
provideMqttOwnAddress(MqttGlobalAddressFactory globalAddressFactory) |
joynr.system.RoutingTypes.MqttAddress |
provideMqttOwnAddress(MqttReplyToAddressFactory replyToAddressFactory) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingpublic static final String PROPERTY_KEY_MQTT_RECONNECT_SLEEP_MS
public static final String PROPERTY_KEY_MQTT_BROKER_URI
public JeeMqttMessageSendingModule(com.google.inject.multibindings.MapBinder<Class<? extends joynr.system.RoutingTypes.Address>,io.joynr.messaging.IMessagingSkeleton> messagingSkeletonFactory, com.google.inject.multibindings.MapBinder<Class<? extends joynr.system.RoutingTypes.Address>,io.joynr.messaging.AbstractMiddlewareMessagingStubFactory<? extends io.joynr.messaging.IMessagingStub,? extends joynr.system.RoutingTypes.Address>> messagingStubFactory)
@Provides public joynr.system.RoutingTypes.MqttAddress provideMqttOwnAddress(MqttGlobalAddressFactory globalAddressFactory)
@Provides public joynr.system.RoutingTypes.MqttAddress provideMqttOwnAddress(MqttReplyToAddressFactory replyToAddressFactory)
protected void configure()
configure in class com.google.inject.AbstractModuleCopyright © 2019. All rights reserved.