List of usage examples for com.rabbitmq.client ConnectionFactory DEFAULT_HANDSHAKE_TIMEOUT
int DEFAULT_HANDSHAKE_TIMEOUT
To view the source code for com.rabbitmq.client ConnectionFactory DEFAULT_HANDSHAKE_TIMEOUT.
Click Source Link
From source file:org.thingsboard.rule.engine.rabbitmq.TbRabbitMqNodeConfiguration.java
License:Apache License
@Override public TbRabbitMqNodeConfiguration defaultConfiguration() { TbRabbitMqNodeConfiguration configuration = new TbRabbitMqNodeConfiguration(); configuration.setExchangeNamePattern(""); configuration.setRoutingKeyPattern(""); configuration.setMessageProperties(null); configuration.setHost(ConnectionFactory.DEFAULT_HOST); configuration.setPort(ConnectionFactory.DEFAULT_AMQP_PORT); configuration.setVirtualHost(ConnectionFactory.DEFAULT_VHOST); configuration.setUsername(ConnectionFactory.DEFAULT_USER); configuration.setPassword(ConnectionFactory.DEFAULT_PASS); configuration.setAutomaticRecoveryEnabled(false); configuration.setConnectionTimeout(ConnectionFactory.DEFAULT_CONNECTION_TIMEOUT); configuration.setHandshakeTimeout(ConnectionFactory.DEFAULT_HANDSHAKE_TIMEOUT); configuration.setClientProperties(Collections.emptyMap()); return configuration; }