Package com.swiftmq.impl.streams
Class StreamBuilder
java.lang.Object
com.swiftmq.impl.streams.StreamBuilder
Factory to create Stream resources.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionReturns a new InputBuilderReturns a new InputBuilderjdbcLookup
(String name) Returns a new JDBCLookupmailserver
(String hostname) Returns a new MailServerReturns a new MemoryBuildermemoryGroup
(String name, String groupPropertyName) Creates a new MemoryGroupmessage()
Returns a new MessageBuilderReturns a new OutputBuilder.Returns a new TempQueueReturns a new TimerBuilder
-
Method Details
-
memory
Returns a new MemoryBuilder- Parameters:
name
- of the Memory- Returns:
- MemoryBuilder
-
memoryGroup
Creates a new MemoryGroup- Parameters:
name
- Name of the MemoryGroupgroupPropertyName
- Name of the Group Property- Returns:
- MemoryGroup
-
timer
Returns a new TimerBuilder- Parameters:
name
- of the Timer- Returns:
- TimerBuilder
-
output
Returns a new OutputBuilder. If the name parameter is set to null, the Output will not be registered at the stream and no usage information is generated. This is useful for Outputs that are used to send a single message only (e.g. sending a reply in request/reply). These Outputs needs to be closed explicitly.- Parameters:
name
- of the Output- Returns:
- OutputBuilder
-
input
Returns a new InputBuilder- Parameters:
name
- of the Input- Returns:
- InputBuilder
-
input
Returns a new InputBuilder- Parameters:
tempQueue
- temp queue- Returns:
- InputBuilder
-
message
Returns a new MessageBuilder- Returns:
- MessageBuilder
-
mailserver
Returns a new MailServer- Parameters:
hostname
- Host Name- Returns:
- MailServer
-
jdbcLookup
Returns a new JDBCLookup- Parameters:
name
- of the JDBCLookup- Returns:
- JDBCLookup
-
tempQueue
Returns a new TempQueue- Parameters:
name
- of the TempQueue- Returns:
- TempQueue
- Throws:
Exception
-