| Constructor and Description |
|---|
Builder(String name)
Adds a topic to the default messaging server.
|
Builder(String name,
String serverName)
Adds a topic to the specified messaging server.
|
| Modifier and Type | Method and Description |
|---|---|
AddTopic |
build() |
AddTopic.Builder |
jndiEntries(List<String> jndiEntries)
Defines the list of jndi entries to which this topic is bound to.
|
AddTopic.Builder |
replaceExisting()
Specify whether to replace the existing topic based on its name.
|
public Builder(String name)
name - name of the topicpublic AddTopic.Builder jndiEntries(List<String> jndiEntries)
public AddTopic.Builder replaceExisting()
public AddTopic build()
Copyright © 2022. All rights reserved.