Class QueueHandler.Singleton.SingletonBuilder<K,V>
- java.lang.Object
-
- dev.aherscu.qa.jgiven.rabbitmq.utils.QueueHandler.Singleton.SingletonBuilder<K,V>
-
- Enclosing class:
- QueueHandler.Singleton<K,V>
public static class QueueHandler.Singleton.SingletonBuilder<K,V> extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueueHandler.Singleton<K,V>
build()
QueueHandler.Singleton.SingletonBuilder<K,V>
connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory)
QueueHandler.Singleton.SingletonBuilder<K,V>
consumingBy(Function<byte[],V> consumingBy)
QueueHandler.Singleton.SingletonBuilder<K,V>
indexingBy(Function<Message<V>,K> indexingBy)
QueueHandler.Singleton.SingletonBuilder<K,V>
publishingBy(Function<V,byte[]> publishingBy)
QueueHandler.Singleton.SingletonBuilder<K,V>
queue(String queue)
String
toString()
-
-
-
Method Detail
-
connectionFactory
public QueueHandler.Singleton.SingletonBuilder<K,V> connectionFactory(com.rabbitmq.client.ConnectionFactory connectionFactory)
- Returns:
this
.
-
queue
public QueueHandler.Singleton.SingletonBuilder<K,V> queue(String queue)
- Returns:
this
.
-
indexingBy
public QueueHandler.Singleton.SingletonBuilder<K,V> indexingBy(Function<Message<V>,K> indexingBy)
- Returns:
this
.
-
consumingBy
public QueueHandler.Singleton.SingletonBuilder<K,V> consumingBy(Function<byte[],V> consumingBy)
- Returns:
this
.
-
publishingBy
public QueueHandler.Singleton.SingletonBuilder<K,V> publishingBy(Function<V,byte[]> publishingBy)
- Returns:
this
.
-
build
public QueueHandler.Singleton<K,V> build()
-
-