public final class MessageQueueFactoryImpl extends BaseMessageQueueFactory<ActivemqPoolLazy> implements ActivemqConstants, MqttConstants
IMessageQueueFactory接口的activemq实现类| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
MQTT_SCHEMA |
mqConnParams, pool, pubsubSubscriberSupplier, queueConsumerSupplierABP_brokerUploadUrl, ABP_bufferSize, ABP_defaultUploadUrl, ABP_uploadStrategy, ABP_uploadUrl, ACON_alwaysSessionAsync, ACON_alwaysSyncSend, ACON_auditDepth, ACON_auditMaximumProducerNumber, ACON_BROKER_URL, ACON_checkForDuplicates, ACON_CLIENTID, ACON_closeTimeout, ACON_connectResponseTimeout, ACON_consumerExpiryCheckEnabled, ACON_consumerFailoverRedeliveryWaitPeriod, ACON_copyMessageOnSend, ACON_disableTimeStampsByDefault, ACON_DISPATCHASYNC, ACON_maxThreadPoolSize, ACON_messagePrioritySupported, ACON_nestedMapAndListEnabled, ACON_nonBlockingRedelivery, ACON_objectMessageSerializationDefered, ACON_optimizeAcknowledge, ACON_optimizedMessageDispatch, ACON_PASSWORD, ACON_producerWindowSize, ACON_rmIdFromConnectionId, ACON_sendAcksAsync, ACON_sendTimeout, ACON_statsEnabled, ACON_transactedIndividualAck, ACON_useAsyncSend, ACON_useCompression, ACON_useRetroactiveConsumer, ACON_USERNAME, ACON_watchTopicAdvisories, APOOL_blockIfSessionPoolIsFullTimeout, APOOL_createConnectionOnStartup, APOOL_expiryTimeout, APOOL_idleTimeout, APOOL_maxConnections, APOOL_maximumActiveSessionPerConnection, APOOL_reconnectOnException, APOOL_timeBetweenExpirationCheckMillis, APOOL_useAnonymousProducers, APP_consumerExpiryCheckEnabled, APP_durableTopicPrefetch, APP_maximumPendingMessageLimit, APP_optimizeDurableTopicPrefetch, APP_queueBrowserPrefetch, APP_topicPrefetch, ARP_backOffMultiplier, ARP_collisionAvoidancePercent, ARP_initialRedeliveryDelay, ARP_maximumRedeliveries, ARP_maximumRedeliveryDelay, ARP_redeliveryDelay, ARP_useCollisionAvoidance, ARP_useExponentialBackOff, DEFAULT_AMQ_HOST, DEFAULT_AMQ_PORT, DEFAULT_AMQ_SCHEMA, DEFAULT_MQTT_CONNECTOR, PROP_CONSUMER_COUNTCONNOPTS_PREFIX, DEFAULT_MQTT_HOST, DEFAULT_MQTT_PORT, DEFAULT_MQTT_SCHEMA, DEFAULT_MQTT_URI, DEFAULT_QOS, MQTT_clientId, MQTT_connOpts_automaticReconnect, MQTT_connOpts_cleanSession, MQTT_connOpts_connectionTimeout, MQTT_connOpts_customWebSocketHeaders, MQTT_connOpts_executorServiceTimeout, MQTT_connOpts_httpsHostnameVerificationEnabled, MQTT_connOpts_keepAliveInterval, MQTT_connOpts_maxInflight, MQTT_connOpts_maxReconnectDelay, MQTT_connOpts_mqttVersion, MQTT_connOpts_password, MQTT_connOpts_serverURIs, MQTT_connOpts_socketFactory, MQTT_connOpts_sslClientProps, MQTT_connOpts_sslHostnameVerifier, MQTT_connOpts_username, MQTT_qos, MQTT_serverURIDEFAULT_CONSUMER_CHECK_INTERVAL, logger, MQ_CLIENTID, MQ_HOST, MQ_PASSWORD, MQ_PORT, MQ_PUBSUB_HOST, MQ_PUBSUB_MQTT, MQ_PUBSUB_PORT, MQ_PUBSUB_URI, MQ_QUEUE_HOST, MQ_QUEUE_PORT, MQ_QUEUE_URI, MQ_URI, MQ_USERNAME, PUBSUB_PREFIX, QUEUE_PREFIXMQ_HOST, MQ_PASSWORD, MQ_PORT| 构造器和说明 |
|---|
MessageQueueFactoryImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
protected com.google.common.net.HostAndPort |
doGetHostAndPort() |
protected void |
doInit(java.util.Map<java.lang.String,java.lang.Object> properties) |
IConsumer |
getConsumer() |
MessageQueueType |
getImplType() |
IProducer |
getProducer() |
IPublisher |
getPublisher() |
ISubscriber |
getSubscriber() |
boolean |
testConnect() |
asDefaultFactory, checkInitialized, forPubsub, forQueue, getHostAndPort, getMQConnParameters, getPool, init, init, init, initialized, toStringpublic static final java.lang.String MQTT_SCHEMA
public MessageQueueFactoryImpl()
protected void doInit(java.util.Map<java.lang.String,java.lang.Object> properties)
doInit 在类中 BaseMessageQueueFactory<ActivemqPoolLazy>protected com.google.common.net.HostAndPort doGetHostAndPort()
public ISubscriber getSubscriber()
getSubscriber 在接口中 IMessageQueueFactorypublic IPublisher getPublisher()
getPublisher 在接口中 IMessageQueueFactorypublic IProducer getProducer()
getProducer 在接口中 IMessageQueueFactorypublic IConsumer getConsumer()
getConsumer 在接口中 IMessageQueueFactorypublic final MessageQueueType getImplType()
getImplType 在接口中 IMessageQueueFactorygetImplType 在接口中 IMQConnParameterSupplierpublic boolean testConnect()
testConnect 在接口中 IMessageQueueFactorypublic void close() throws java.io.IOException
close 在接口中 java.lang.AutoCloseableclose 在类中 BaseMessageQueueFactory<ActivemqPoolLazy>java.io.IOExceptionCopyright © 2020. All Rights Reserved.