Package com.swiftmq.impl.streams.comp.io
Class OutputBuilder
java.lang.Object
com.swiftmq.impl.streams.comp.io.OutputBuilder
Factory to create Outputs.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionforAddress
(Destination address) Verifies the type of the address (Topic/Queue) and returns the corresponding Output.queue()
Creates a new QueueOutput.topic()
Creates a new TopicOutput.
-
Constructor Details
-
OutputBuilder
Internal use.
-
-
Method Details
-
queue
Creates a new QueueOutput.- Returns:
- QueueOutput
- Throws:
Exception
-
topic
Creates a new TopicOutput.- Returns:
- TopicOutput
- Throws:
Exception
-
forAddress
Verifies the type of the address (Topic/Queue) and returns the corresponding Output.- Parameters:
address
- Address- Returns:
- Output
- Throws:
Exception
-