public interface ConnectionFactoryConnections を作成するためのインターフェースベースの ConnectionFactory。NOTE: Rabbit API には ConnectionFactory クラス (同名) が含まれています。
| 修飾子と型 | メソッドと説明 |
|---|---|
void | addConnectionListener(ConnectionListener listener) |
void | clearConnectionListeners() |
Connection | createConnection() |
StringSE | getHost() |
int | getPort() |
default ConnectionFactory | getPublisherConnectionFactory() パブリッシャー用に個別の接続ファクトリを返します (実装されている場合)。 |
StringSE | getUsername() |
StringSE | getVirtualHost() |
default boolean | isPublisherConfirms() パブリッシャーの確認が有効になっている場合は true を返します。 |
default boolean | isPublisherReturns() パブリッシャーの return が有効になっている場合は true を返します。 |
default boolean | isSimplePublisherConfirms() シンプルな発行者の確認が有効になっている場合は true を返します。 |
boolean | removeConnectionListener(ConnectionListener listener) |
Connection createConnection() throws AmqpException
StringSE getHost()
int getPort()
StringSE getVirtualHost()
StringSE getUsername()
void addConnectionListener(ConnectionListener listener)
boolean removeConnectionListener(ConnectionListener listener)
void clearConnectionListeners()
@Nullable default ConnectionFactory getPublisherConnectionFactory()
default boolean isSimplePublisherConfirms()
default boolean isPublisherConfirms()
default boolean isPublisherReturns()